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

Sending SQL statements in visual c++?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
i need to know how to send SQL statements to a database in VC++ and have the results sent back to me..
 
USe MFC Classes CDatabase and CRecordset.
Inside you have everything you need for your purpose. The method names and their way of working resembles a lot with ADO if you are familiar with this one.

You could use the straight APIs from ODBC32.Dll but they are a lot more complex and human friendly.

HTH,

s-)

Blessed is he who in the name of justice and goodwill, sheperds the weak through the valley of darkness...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top