Click here to Skip to main content
15,896,118 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
Hi ,

I need sample C code to connect to SQL server 2012 from Unix server using ODBC driver from www.easysoft.com.

I have the trial version of this ODBC driver for SQL server installed in my unix box.

Could someone Please help me with the working code.

Thanks & Regards,
Deepti
Posted
Comments
Muli G. 9-Jun-14 10:09am    
try this tutorial:
http://www.easysoft.com/developer/languages/c/odbc_tutorial.html

1 solution

Muli G is right there is a fine sample on that website. Looks like the full connection sample is really good.

Dont ferget enhanced error handling - you will need it.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900