G
Guest
Hi,
I am trying to read data from a stored procedure(SP) using the
SQLDataReader. Inside SP, i populate a temp table (created using SQL Table
variable) with some records based upon some logic. Last statement in the SP,
selects few records from the temp table.
The SQLDataReader on the client side returns zero records sometimes(which is
not expected) and 5 records sometimes(which is expected) and this happens
alternatively. 5,0,5,0...
what is it that i am missing.
Thanks,
Yash
I am trying to read data from a stored procedure(SP) using the
SQLDataReader. Inside SP, i populate a temp table (created using SQL Table
variable) with some records based upon some logic. Last statement in the SP,
selects few records from the temp table.
The SQLDataReader on the client side returns zero records sometimes(which is
not expected) and 5 records sometimes(which is expected) and this happens
alternatively. 5,0,5,0...
what is it that i am missing.
Thanks,
Yash