Execute multiple SQL statements using DataReader - ADO.NET
Q. How do you execute multiple SQL statements using a DataReader?- Published on 27 Jul 15a. Call the ExecuteReader method of a single Command object twice.
b. Set the Command.CommandText property to multiple SQL statements delimited by a semicolon.
c. Set the Command.CommandType property to multiple result sets.
d. None of the above.
ANSWER: Set the Command.CommandText property to multiple SQL statements delimited by a semicolon.