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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual C++ and MS-SQL

Status
Not open for further replies.

scimatic

Technical User
Aug 30, 2004
19
US
I haven't had much luck on finding information or examples of connecting to mssql using c++. Can anyone tell me how to make a simple connection to a mssql, runa query, store the results to text file and close the connection?

Any help will be greatly appreciated.

Thanks
 
Depends on how you wanna make this connection. Doesn't ADO do the job for you?

Greetings,
Rick
 
I can't find any examples that are very clear how to make a connection, I guess how you make the connection doesn't really matter. ODBC has been what I've ben looking for.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top