Batches

time to read 1 min | 75 words

Oren Ellenbogen has a post about IDataReader.NextResult(); I saw that method in intellisense, but I never really understood what is it.

It is used to send a batch of statements to the server (seperated by ';', apperantly) and then gets sets of results. One thing that interests me is how this is done on Oracle, since it throws exceptions on ';'.