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

Database

 
GeneralCalling sp_helptext from ASPNET Pin
Hans Ruck10-Dec-04 5:02
Hans Ruck10-Dec-04 5:02 
GeneralRe: Calling sp_helptext from ASPNET Pin
Colin Angus Mackay10-Dec-04 5:36
Colin Angus Mackay10-Dec-04 5:36 
GeneralRe: Calling sp_helptext from ASPNET Pin
Hans Ruck10-Dec-04 6:18
Hans Ruck10-Dec-04 6:18 
GeneralRe: Calling sp_helptext from ASPNET Pin
tojamismis10-Dec-04 11:28
tojamismis10-Dec-04 11:28 
GeneralRe: Calling sp_helptext from ASPNET Pin
Edbert P12-Dec-04 13:34
Edbert P12-Dec-04 13:34 
GeneralGenerate generalized insert, delete and update statements Pin
CNU9-Dec-04 16:10
CNU9-Dec-04 16:10 
GeneralRe: Generate generalized insert, delete and update statements Pin
Colin Angus Mackay10-Dec-04 5:59
Colin Angus Mackay10-Dec-04 5:59 
QuestionServer -- keep connection open? Or open/close as needed? Pin
Judah Gabriel Himango9-Dec-04 6:32
sponsorJudah Gabriel Himango9-Dec-04 6:32 
I have a server app that opens a connection to the database, does some SQL queries, then closes the connection.

I'm wondering if simply keeping the connection open for the duration of the server's lifetime is a better idea. Any opinions?

My thinking behind this: opening and closing the connection in a multithreaded server with an asynchronous MSDE connection is difficult to do; it'd be easier just to keep the connection open at all times. What do you guys think?

Any remotely useful information on my blog will be removed immediately.

There are 10 kinds of people in the world. Those who have heard of the ubiquitous, overused, worn-out-like-an-old-shoe binary "joke" and those who haven't.
Judah Himango


AnswerRe: Server -- keep connection open? Or open/close as needed? Pin
Alex Korchemniy9-Dec-04 10:55
Alex Korchemniy9-Dec-04 10:55 
GeneralRe: Server -- keep connection open? Or open/close as needed? Pin
Judah Gabriel Himango9-Dec-04 11:45
sponsorJudah Gabriel Himango9-Dec-04 11:45 
GeneralRe: Server -- keep connection open? Or open/close as needed? Pin
Mike Dimmick10-Dec-04 2:28
Mike Dimmick10-Dec-04 2:28 
GeneralRe: Server -- keep connection open? Or open/close as needed? Pin
Judah Gabriel Himango10-Dec-04 4:29
sponsorJudah Gabriel Himango10-Dec-04 4:29 
AnswerRe: Server -- keep connection open? Or open/close as needed? Pin
Dave Kreskowiak10-Dec-04 9:56
mveDave Kreskowiak10-Dec-04 9:56 
GeneralRe: Server -- keep connection open? Or open/close as needed? Pin
Judah Gabriel Himango10-Dec-04 10:00
sponsorJudah Gabriel Himango10-Dec-04 10:00 
GeneralStored Procedure using Disconnected Recordset Pin
web_app_developer9-Dec-04 4:00
web_app_developer9-Dec-04 4:00 
GeneralRe: Stored Procedure using Disconnected Recordset Pin
tojamismis10-Dec-04 12:42
tojamismis10-Dec-04 12:42 
GeneralSQL Server 2000 / Access Pin
| Muhammad Waqas Butt |9-Dec-04 1:08
professional| Muhammad Waqas Butt |9-Dec-04 1:08 
GeneralInsert photos and files Pin
CNU8-Dec-04 14:46
CNU8-Dec-04 14:46 
GeneralRe: Insert photos and files Pin
Alex Korchemniy8-Dec-04 16:55
Alex Korchemniy8-Dec-04 16:55 
GeneralRe: Insert photos and files Pin
CNU8-Dec-04 17:39
CNU8-Dec-04 17:39 
GeneralRe: Insert photos and files Pin
Alex Korchemniy9-Dec-04 10:53
Alex Korchemniy9-Dec-04 10:53 
GeneralRe: Insert photos and files Pin
Mekong River9-Dec-04 4:18
Mekong River9-Dec-04 4:18 
GeneralSQL query Pin
Paps28-Dec-04 3:49
Paps28-Dec-04 3:49 
GeneralRe: SQL query Pin
Yulianto.8-Dec-04 15:58
Yulianto.8-Dec-04 15:58 
GeneralRe: SQL query Pin
Alex Korchemniy8-Dec-04 17:02
Alex Korchemniy8-Dec-04 17:02 

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.