Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ODBC connection string to SQL Server 7 via C++

Status
Not open for further replies.

markcm

Programmer
Aug 2, 2001
10
US
Does anyone know the verbage required for a ODBC connection string to SQL Server 7 via C++?

Thanks in advance,
Mark Michaud.
 
I use this...

"Driver={SQL Server};Persist Security Info=False;Trusted Connection=Yes;uid=sa;Server=(local);Initial Catalog=xxxxxx"


 
for SQL Server is required this standard:
"Driver={SQL Server};uid={your user id, often is sa};pwd={your password}Server={server name};database={database name};" Ion Filipski
1c.bmp


filipski@excite.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top