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

Database

 
QuestionIs it possible to set a adBoolean Column to AdColNullable ? Pin
BrunoDelille6-Mar-03 3:40
sussBrunoDelille6-Mar-03 3:40 
QuestionHow to display full column length in SQL Pin
IrishSonic5-Mar-03 23:54
IrishSonic5-Mar-03 23:54 
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 
In general, it's not wise to do so. In a single threaded application you might orchestrate these DataReaders to use only one connection (that means one at a time, but that's probably not what you want), but in any multi-threaded environment (like ASP.NET) you will get into all kinds of trouble.

Rely on the underlying data provider to perform connection-pooling, and open a connection for each operation. For SQL Server you can specify a connectionstring a la: "Server=SVR1;Database=Northwind;...;Pooling=true"

This will force the re-use of connections, and makes opening one a lot cheaper.


Gertjan Schuurmans
Amsterdam
The Netherlands
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 
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 

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.