Click here to Skip to main content
16,010,553 members
Home / Discussions / Database
   

Database

 
QuestionSql Connection Pin
NormBohana4-Nov-05 14:04
NormBohana4-Nov-05 14:04 
AnswerRe: Sql Connection Pin
Rob Graham4-Nov-05 14:56
Rob Graham4-Nov-05 14:56 
I guess I don't clearly understand the question.

If the MSDE will always be on the same computer as the application, then your current connection string will always work (provided MSDE installed with the instance name NetSDK).If MSDE is installed without an instancename, then just DataSource = (local) will always work on the same box.
If the MSDE will be on only one of many computers, then you have no choice but to specify the name of the server (or its IP address if using TCPIP network library) and the instance name (if installed as an instance).

If there will be multiple clients, you likely should read the server name part of the connection string from a configuration file for your app, so it can be changed without recompling.

Absolute faith corrupts as absolutely as absolute power
Eric Hoffer

All that is necessary for the triumph of evil is that good men do nothing.
Edmund Burke

GeneralRe: Sql Connection Pin
NormBohana4-Nov-05 15:03
NormBohana4-Nov-05 15:03 
Questionaccess to MSsql pubs data from vc6.0 Pin
markoot4-Nov-05 8:31
markoot4-Nov-05 8:31 
AnswerRe: access to MSsql pubs data from vc6.0 Pin
markoot4-Nov-05 10:55
markoot4-Nov-05 10:55 
Questionsp procedure Help!!! Pin
Petdav4-Nov-05 4:24
Petdav4-Nov-05 4:24 
AnswerRe: sp procedure Help!!! Pin
Rob Graham4-Nov-05 15:10
Rob Graham4-Nov-05 15:10 
Questionsp Help!!! Pin
Petdav4-Nov-05 4:20
Petdav4-Nov-05 4:20 
QuestionHow to modify a table Without dropping Pin
SIJUTHOMASP4-Nov-05 0:42
professionalSIJUTHOMASP4-Nov-05 0:42 
AnswerRe: How to modify a table Without dropping Pin
Colin Angus Mackay4-Nov-05 1:04
Colin Angus Mackay4-Nov-05 1:04 
AnswerRe: How to modify a table Without dropping Pin
Daniel Santillanes8-Nov-05 13:35
professionalDaniel Santillanes8-Nov-05 13:35 
GeneralRe: How to modify a table Without dropping Pin
n10sive11-Nov-05 17:17
n10sive11-Nov-05 17:17 
Questiongeting the first date Pin
microuser_20003-Nov-05 23:43
microuser_20003-Nov-05 23:43 
AnswerRe: geting the first date Pin
Colin Angus Mackay4-Nov-05 0:10
Colin Angus Mackay4-Nov-05 0:10 
GeneralRe: geting the first date Pin
microuser_20004-Nov-05 3:03
microuser_20004-Nov-05 3:03 
Questionsaving data from a datagrid to a database Pin
steve_rm3-Nov-05 17:41
steve_rm3-Nov-05 17:41 
Question@@Servername Pin
Petdav3-Nov-05 10:02
Petdav3-Nov-05 10:02 
AnswerRe: @@Servername Pin
Rob Graham3-Nov-05 12:41
Rob Graham3-Nov-05 12:41 
QuestionMoving from SQL Server 2000 to 2005 Pin
David Wulff3-Nov-05 7:20
David Wulff3-Nov-05 7:20 
QuestionOracle varchar2 size Pin
Michael A. Barnhart3-Nov-05 1:58
Michael A. Barnhart3-Nov-05 1:58 
AnswerRe: Oracle varchar2 size Pin
Al Ortega3-Nov-05 3:24
Al Ortega3-Nov-05 3:24 
GeneralRe: Oracle varchar2 size Pin
Michael A. Barnhart3-Nov-05 8:48
Michael A. Barnhart3-Nov-05 8:48 
QuestionStored Procedure in Oracle 8i Pin
Rohan_bhat_313-Nov-05 0:40
Rohan_bhat_313-Nov-05 0:40 
AnswerRe: Stored Procedure in Oracle 8i Pin
anandss11-Nov-05 12:28
anandss11-Nov-05 12:28 
Questionlooking for a classified package Pin
Rmass2-Nov-05 23:57
Rmass2-Nov-05 23:57 

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.