G
Guest
I am trying out batch update in Ado.Net.
SqlCommand cmd = new SqlCommand();
cmd.commandtext = "update...;update...'";
I put semicolon between each update.
I have thousand of records to update.
What would be an optimal number of updates to do in one statement?
SqlCommand cmd = new SqlCommand();
cmd.commandtext = "update...;update...'";
I put semicolon between each update.
I have thousand of records to update.
What would be an optimal number of updates to do in one statement?