Click here to Skip to main content
15,922,427 members
Home / Discussions / Database
   

Database

 
AnswerRe: How to display full column length in SQL Pin
Nick Parker6-Mar-03 3:09
protectorNick Parker6-Mar-03 3:09 
AnswerRe: How to display full column length in SQL Pin
Jon Hulatt6-Mar-03 3:38
Jon Hulatt6-Mar-03 3:38 
GeneralRe: How to display full column length in SQL Pin
IrishSonic6-Mar-03 11:13
IrishSonic6-Mar-03 11:13 
GeneralIntroduction of parameter problem!! Pin
Andrea Ferraro5-Mar-03 23:34
Andrea Ferraro5-Mar-03 23:34 
QuestionHow to use the same db connection with multiple datareaders? Pin
Segal5-Mar-03 11:22
Segal5-Mar-03 11:22 
AnswerRe: How to use the same db connection with multiple datareaders? Pin
Gertjan Schuurmans5-Mar-03 11:43
Gertjan Schuurmans5-Mar-03 11:43 
GeneralRe: How to use the same db connection with multiple datareaders? Pin
Gertjan Schuurmans5-Mar-03 11:45
Gertjan Schuurmans5-Mar-03 11:45 
AnswerRe: How to use the same db connection with multiple datareaders? Pin
andyharman5-Mar-03 11:53
professionalandyharman5-Mar-03 11:53 
No you can't have multiple datareaders open at the same time for the same database connection.

You might want to think of the following alternatives:
  1. Open, read, then close each of your datareaders in sequence.
  2. Execute all of the queries using a single datareader (e.g. "select * from a ; select * from b ; select * from c"). The datareader is able to process multiple resultsets (for many database products).
  3. Read each of your queries into a DataSet object then do whatever processing you need against the DataSet.
  4. Open multiple database connections.
Your choice depends upon what processing you are trying to achieve.

Hope this helps.
Andy Harman
GeneralRe: How to use the same db connection with multiple datareaders? Pin
Anonymous5-Mar-03 14:02
Anonymous5-Mar-03 14:02 
GeneralRe: How to use the same db connection with multiple datareaders? Pin
andyharman6-Mar-03 7:13
professionalandyharman6-Mar-03 7:13 
GeneralCreating a running totals column Pin
nicholas.gionfriddo5-Mar-03 7:32
nicholas.gionfriddo5-Mar-03 7:32 
GeneralRe: Creating a running totals column Pin
Chris LaQuerre5-Mar-03 10:09
Chris LaQuerre5-Mar-03 10:09 
GeneralRe: Creating a running totals column Pin
nicholas.gionfriddo5-Mar-03 10:27
nicholas.gionfriddo5-Mar-03 10:27 
GeneralRe: Creating a running totals column Pin
nicholas.gionfriddo5-Mar-03 10:49
nicholas.gionfriddo5-Mar-03 10:49 
GeneralRe: Creating a running totals column Pin
nicholas.gionfriddo5-Mar-03 10:52
nicholas.gionfriddo5-Mar-03 10:52 
GeneralRe: Creating a running totals column Pin
andyharman5-Mar-03 11:42
professionalandyharman5-Mar-03 11:42 
GeneralRe: Creating a running totals column Pin
nicholas.gionfriddo6-Mar-03 2:57
nicholas.gionfriddo6-Mar-03 2:57 
GeneralConnection Pooling with Oracle OleDb Provider Pin
Dr Herbie4-Mar-03 5:16
Dr Herbie4-Mar-03 5:16 
GeneralRe: Connection Pooling with Oracle OleDb Provider Pin
Mark Conger4-Mar-03 6:51
Mark Conger4-Mar-03 6:51 
GeneralSQLServer/MSDE Authentication Pin
Sassan Komeili Zadeh3-Mar-03 20:17
Sassan Komeili Zadeh3-Mar-03 20:17 
GeneralDeleting Rows From DataSet Pin
afronaut2-Mar-03 16:40
afronaut2-Mar-03 16:40 
GeneralRe: Deleting Rows From DataSet Pin
mughal2-Mar-03 20:19
mughal2-Mar-03 20:19 
GeneralRe: Deleting Rows From DataSet Pin
afronaut3-Mar-03 4:42
afronaut3-Mar-03 4:42 
QuestionADO.NET and Relational Data problem.....how start? Pin
gicio2-Mar-03 10:05
gicio2-Mar-03 10:05 
AnswerRe: ADO.NET and Relational Data problem.....how start? Pin
Bernard Vander Beken5-Mar-03 9:46
Bernard Vander Beken5-Mar-03 9:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.