L
Lars Siden
Hi,
The subject says it all. Using Sybase I could configure my driver to allow
multiple open cursors on one connection object(sacrificing speed), do I have
that option on SQL Server 2000 as well?
Basically I'd like to run this code:
dbCmd1 = new SqlCommand("Select person_id from activities", dbConn );
dbCmd2 = new SqlCommand("Select address_id from address", dbConn );
dbConn.Open();
dbReader1 = dbCmd1.ExecuteReader();
dbReader2 = dbCmd2.ExecuteReader();
....do some stuff
dbReader1.Close();
dbReader2.Close();
dbConn.Close();
All input is appreciated!
Best regards,
Lars Siden
The subject says it all. Using Sybase I could configure my driver to allow
multiple open cursors on one connection object(sacrificing speed), do I have
that option on SQL Server 2000 as well?
Basically I'd like to run this code:
dbCmd1 = new SqlCommand("Select person_id from activities", dbConn );
dbCmd2 = new SqlCommand("Select address_id from address", dbConn );
dbConn.Open();
dbReader1 = dbCmd1.ExecuteReader();
dbReader2 = dbCmd2.ExecuteReader();
....do some stuff
dbReader1.Close();
dbReader2.Close();
dbConn.Close();
All input is appreciated!
Best regards,
Lars Siden