stmt = insert into test(?,?); // prepare only once bind_variable(stmt , var1, var2); // bind only once int i=0, j=0; while(1000 times) { var1 = i, var2 = j; // change the variables repeatedly 1000 times sqlExecute(stamt); execute(stmt); // execute 1000 times i ++; j++; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)