I have a SQL database (sdf file)
I would like to create dummy records to fill in the database for a fixed size of say 22 MBytes.
I have a simple insert command:
INSERT INTO Log (Time, Source, MyID, SubID, Description) VALUES ('2009-09-17 01:20:35', '1', '1', '60', 'Test Record')
What I need to do is be able to create a loop which does this insert until the database file reaches a fixed size i.e. 22 Megs.
Please can you help with sample code. I am using server explorer for my database connection. I was unable to install SQL server so cannot use management studio :-(
I need to add in the command in a single query please :-)