- Sep 19, 2000
- 10,286
- 145
- 106
So here's the problem, I have an import program that is inserting data into a SQL server. My method of inserting is to build a giant SQL command that looks roughly like
Insert into table (x, y, z) Values (a, b, c);
Insert into table (x, y, z) Values (d, e, f);
Insert into table (x, y, z) Values (g, h, i);
Insert into table (x, y, z) Values (j, k, l);
...
Well, this takes quite a while to do. The application builds the commands much faster then the SQL server can execute them. Is there a way to increase the speed at which SQL executes these commands? (I would like to keep the SQL server independent.)
Insert into table (x, y, z) Values (a, b, c);
Insert into table (x, y, z) Values (d, e, f);
Insert into table (x, y, z) Values (g, h, i);
Insert into table (x, y, z) Values (j, k, l);
...
Well, this takes quite a while to do. The application builds the commands much faster then the SQL server can execute them. Is there a way to increase the speed at which SQL executes these commands? (I would like to keep the SQL server independent.)