Click here to Skip to main content
15,898,538 members
Home / Discussions / Database
   

Database

 
QuestionSql Server Access Pin
anishkannan7-Oct-09 19:17
anishkannan7-Oct-09 19:17 
AnswerRe: Sql Server Access Pin
εїзεїзεїз7-Oct-09 22:04
εїзεїзεїз7-Oct-09 22:04 
AnswerRe: Sql Server Access Pin
Mycroft Holmes7-Oct-09 22:30
professionalMycroft Holmes7-Oct-09 22:30 
QuestionHow to write IF Condition in Stored Procedure Pin
Abhishek Boga7-Oct-09 14:06
Abhishek Boga7-Oct-09 14:06 
AnswerRe: How to write IF Condition in Stored Procedure Pin
Not Active7-Oct-09 14:17
mentorNot Active7-Oct-09 14:17 
AnswerRe: How to write IF Condition in Stored Procedure Pin
Not Active7-Oct-09 14:20
mentorNot Active7-Oct-09 14:20 
AnswerRe: How to write IF Condition in Stored Procedure Pin
J4amieC7-Oct-09 23:07
J4amieC7-Oct-09 23:07 
Question'Best practices' for managing data base connections Pin
Gary Wheeler7-Oct-09 8:29
Gary Wheeler7-Oct-09 8:29 
My application currently opens its data base connection when it starts, and closes it when it exits. The application runs for long periods (days or even weeks). The problem lies in that it accesses the data base infrequently. Accesses may be minutes or even hours apart in time. In other instances, there may be several accesses within a few milliseconds of each other.

At some sites, it appears that the data base server (SQL Server 2005) is dropping the connection because my application is not keeping up a steady traffic of operations.

One option would be for me to change my code to open the data base connection, perform the operation, and close the connection, for each and every data base transaction.

This approach seems clumsy, however. Does anyone have any better suggestions?

Software Zen: delete this;

AnswerRe: 'Best practices' for managing data base connections [modified] Pin
Luc Pattyn7-Oct-09 8:37
sitebuilderLuc Pattyn7-Oct-09 8:37 
GeneralRe: 'Best practices' for managing data base connections Pin
Gary Wheeler7-Oct-09 8:44
Gary Wheeler7-Oct-09 8:44 
GeneralRe: 'Best practices' for managing data base connections Pin
Luc Pattyn7-Oct-09 8:49
sitebuilderLuc Pattyn7-Oct-09 8:49 
AnswerRe: 'Best practices' for managing data base connections Pin
εїзεїзεїз7-Oct-09 10:57
εїзεїзεїз7-Oct-09 10:57 
AnswerRe: 'Best practices' for managing data base connections Pin
David Skelly7-Oct-09 22:52
David Skelly7-Oct-09 22:52 
GeneralRe: 'Best practices' for managing data base connections Pin
Gary Wheeler8-Oct-09 0:33
Gary Wheeler8-Oct-09 0:33 
AnswerRe: 'Best practices' for managing data base connections Pin
PIEBALDconsult12-Oct-09 6:44
mvePIEBALDconsult12-Oct-09 6:44 
QuestionProblem with LOB Locators. Pin
Code-o-mat7-Oct-09 6:37
Code-o-mat7-Oct-09 6:37 
QuestionFIle Format Problems Pin
Vimalsoft(Pty) Ltd7-Oct-09 4:54
professionalVimalsoft(Pty) Ltd7-Oct-09 4:54 
AnswerRe: FIle Format Problems Pin
dan!sh 7-Oct-09 5:15
professional dan!sh 7-Oct-09 5:15 
GeneralRe: FIle Format Problems Pin
Vimalsoft(Pty) Ltd7-Oct-09 5:23
professionalVimalsoft(Pty) Ltd7-Oct-09 5:23 
GeneralRe: FIle Format Problems Pin
dan!sh 7-Oct-09 6:03
professional dan!sh 7-Oct-09 6:03 
GeneralRe: FIle Format Problems Pin
Vimalsoft(Pty) Ltd7-Oct-09 6:19
professionalVimalsoft(Pty) Ltd7-Oct-09 6:19 
GeneralRe: FIle Format Problems Pin
Ashfield8-Oct-09 1:29
Ashfield8-Oct-09 1:29 
GeneralRe: FIle Format Problems Pin
Vimalsoft(Pty) Ltd8-Oct-09 1:31
professionalVimalsoft(Pty) Ltd8-Oct-09 1:31 
GeneralRe: FIle Format Problems Pin
Ashfield8-Oct-09 3:39
Ashfield8-Oct-09 3:39 
GeneralRe: FIle Format Problems Pin
Vimalsoft(Pty) Ltd8-Oct-09 4:00
professionalVimalsoft(Pty) Ltd8-Oct-09 4:00 

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.