Click here to Skip to main content
15,904,823 members
Home / Discussions / Database
   

Database

 
Generaluse modem dialup to retrieve data from SQL 2000 Server... Pin
DengJW1-Mar-04 17:23
DengJW1-Mar-04 17:23 
QuestionProblem while accessing SQL server 2k remotely? Pin
DengJW1-Mar-04 15:49
DengJW1-Mar-04 15:49 
AnswerRe: Problem while accessing SQL server 2k remotely? Pin
Mike Dimmick3-Mar-04 2:31
Mike Dimmick3-Mar-04 2:31 
QuestionHow to read encrypted data from SQL Server... Pin
OHSAH1-Mar-04 10:12
OHSAH1-Mar-04 10:12 
GeneralDynamic names in SQL Server Pin
theJazzyBrain1-Mar-04 6:20
theJazzyBrain1-Mar-04 6:20 
GeneralRe: Dynamic names in SQL Server Pin
ian mariano1-Mar-04 11:57
ian mariano1-Mar-04 11:57 
GeneralRe: Dynamic names in SQL Server Pin
theJazzyBrain1-Mar-04 21:11
theJazzyBrain1-Mar-04 21:11 
QuestionCan I keep a connection open while the session exists? Pin
iluha29-Feb-04 3:42
iluha29-Feb-04 3:42 
I'm developing a shopping cart using vb6. (ActiveX dll)

For db connectivity I'm using ADO 2.7

The database (free tables) in use for now will be FOXPRO (I know not the best choice)
At some point the databases will be converted to MSSQL.

My question is:
When the cCustomer class is created, can I open the connection to the database and closed it when class is destroyed (on session end)?
Or
Should I open and close connection as needed?

It just seem better to just do it ones, but I'm not sure on how much extra load it will be on the server.
There might be up to 500 people on the server at any given time...

Please let me know what you think

Thank you
Iluha

Smile | :)
AnswerRe: Can I keep a connection open while the session exists? Pin
Spanky329-Feb-04 7:27
Spanky329-Feb-04 7:27 
AnswerRe: Can I keep a connection open while the session exists? Pin
ian mariano29-Feb-04 21:36
ian mariano29-Feb-04 21:36 
GeneralRe: Can I keep a connection open while the session exists? Pin
gpa20001-Mar-04 19:57
gpa20001-Mar-04 19:57 
Questionselect top, limit 2, 3? Pin
Anonymous28-Feb-04 20:13
Anonymous28-Feb-04 20:13 
AnswerRe: select top, limit 2, 3? Pin
Colin Angus Mackay29-Feb-04 1:57
Colin Angus Mackay29-Feb-04 1:57 
GeneralUpdate Customise Object to Database Pin
Member 435691127-Feb-04 10:26
Member 435691127-Feb-04 10:26 
GeneralRe: Update Customise Object to Database Pin
Mazdak28-Feb-04 4:55
Mazdak28-Feb-04 4:55 
Generalget minor errors via OLEDB Pin
misha_grewal27-Feb-04 2:47
misha_grewal27-Feb-04 2:47 
GeneralRe: get minor errors via OLEDB Pin
Prakash Nadar1-Mar-04 3:12
Prakash Nadar1-Mar-04 3:12 
GeneralRe: get minor errors via OLEDB Pin
Steve S1-Mar-04 6:52
Steve S1-Mar-04 6:52 
GeneralDataSet Clear() performance problem Pin
Dan Bunea27-Feb-04 0:59
Dan Bunea27-Feb-04 0:59 
GeneralRe: DataSet Clear() performance problem Pin
Mike Dimmick27-Feb-04 9:38
Mike Dimmick27-Feb-04 9:38 
GeneralRe: DataSet Clear() performance problem Pin
Dan Bunea28-Feb-04 23:58
Dan Bunea28-Feb-04 23:58 
GeneralRe: DataSet Clear() performance problem Pin
Mike Dimmick29-Feb-04 7:20
Mike Dimmick29-Feb-04 7:20 
GeneralRe: DataSet Clear() performance problem Pin
Dan Bunea29-Feb-04 20:52
Dan Bunea29-Feb-04 20:52 
GeneralReturning Large DataSet Pin
Dhrubajyoti Dey26-Feb-04 20:28
Dhrubajyoti Dey26-Feb-04 20:28 
GeneralRe: Returning Large DataSet Pin
Spanky329-Feb-04 7:24
Spanky329-Feb-04 7:24 

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.