Click here to Skip to main content
15,887,425 members
Home / Discussions / Database
   

Database

 
AnswerRe: How to convert null dates to String? Pin
-Dr_X-8-May-04 15:57
-Dr_X-8-May-04 15:57 
GeneralPreserve formatting and storing in Database Pin
Anonymous1-May-04 8:48
Anonymous1-May-04 8:48 
Generalquerying XML database Pin
ranadinesh1-May-04 0:47
ranadinesh1-May-04 0:47 
GeneralConnection Pool Pin
Albert Pascual30-Apr-04 13:24
sitebuilderAlbert Pascual30-Apr-04 13:24 
GeneralRe: Connection Pool Pin
Anonymous30-Apr-04 14:03
Anonymous30-Apr-04 14:03 
GeneralRe: Connection Pool Pin
Jeff Varszegi1-May-04 9:34
professionalJeff Varszegi1-May-04 9:34 
GeneralRe: Connection Pool Pin
Mike Dimmick4-May-04 5:45
Mike Dimmick4-May-04 5:45 
GeneralRe: Connection Pool Pin
Jeff Varszegi4-May-04 5:54
professionalJeff Varszegi4-May-04 5:54 
That's good information, but I don't think that using Dispose with the built-in connection pooling will do anything but incur a slight performance penalty for the extra work, although I haven't tested yet. It seems that the actual underlying connection is just mapped to IDbConnection instances, and associated upon Open() and disassociated upon Close. From the docs, it seems logical to assume that resetting ConnectionString, in correctly implemented code, would result in the IDbConnection being disassociated from its pool, but why bother if you're just throwing the object away?

One good thing that you bring up is that it's probably a good idea to hang onto your IDbConnection if you're going to need a connection again, even after Close(). This'll get you out of some creation and destruction overhead. Bright bright bright


-Jeff

here, bloggy bloggy
GeneralTrigger, extended SP, send message to a service Pin
cmk30-Apr-04 8:38
cmk30-Apr-04 8:38 
GeneralUrgent Please !!! Stored Procedure to read data from all kinds of files Pin
Wilbur J. Pereira30-Apr-04 0:38
Wilbur J. Pereira30-Apr-04 0:38 
GeneralInserting commas in database Pin
Anonymous29-Apr-04 22:54
Anonymous29-Apr-04 22:54 
GeneralRe: Inserting commas in database Pin
Colin Angus Mackay29-Apr-04 23:56
Colin Angus Mackay29-Apr-04 23:56 
GeneralRe: Inserting commas in database Pin
Anonymous30-Apr-04 7:52
Anonymous30-Apr-04 7:52 
GeneralRe: Inserting commas in database Pin
Colin Angus Mackay30-Apr-04 9:47
Colin Angus Mackay30-Apr-04 9:47 
GeneralRe: Inserting commas in database Pin
Anonymous30-Apr-04 14:00
Anonymous30-Apr-04 14:00 
GeneralRe: Inserting commas in database Pin
Anonymous30-Apr-04 14:01
Anonymous30-Apr-04 14:01 
GeneralRe: Inserting commas in database Pin
Colin Angus Mackay30-Apr-04 14:04
Colin Angus Mackay30-Apr-04 14:04 
GeneralRe: Inserting commas in database Pin
Hesham Amin30-Apr-04 22:14
Hesham Amin30-Apr-04 22:14 
GeneralRe: Inserting commas in database Pin
Jeff Varszegi1-May-04 9:29
professionalJeff Varszegi1-May-04 9:29 
GeneralSQL Named Instance Pin
vikramlinux29-Apr-04 18:02
vikramlinux29-Apr-04 18:02 
GeneralRe: SQL Named Instance Pin
Colin Angus Mackay30-Apr-04 9:51
Colin Angus Mackay30-Apr-04 9:51 
GeneralName and Data Type of all columns Pin
DotNet_Newbie29-Apr-04 11:08
DotNet_Newbie29-Apr-04 11:08 
GeneralRe: Name and Data Type of all columns Pin
Jeff Varszegi29-Apr-04 11:32
professionalJeff Varszegi29-Apr-04 11:32 
GeneralRe: Name and Data Type of all columns Pin
DotNet_Newbie29-Apr-04 11:56
DotNet_Newbie29-Apr-04 11:56 
GeneralRe: Name and Data Type of all columns Pin
Jeff Varszegi29-Apr-04 12:05
professionalJeff Varszegi29-Apr-04 12:05 

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.