• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1483
  • Last Modified:

How do I access MS SQL Server 2005 using C++ from Linux

I have a c++ application on linux that needs to access a MS SQL Server 2005 database to select and execute T-SQL commands. I have found freetds.org however no simple explaination on how to use it from c++ (NOT MICROSOFT VISUAL C++). I am very familar on how to do this in a Windows environment however I need a good sample or walkthrough for the linux environment. I am not opposed to other free technologies like ODBC.
0
ryager01
Asked:
ryager01
2 Solutions
 
omarfaridCommented:
0
 
jkrCommented:
You can use ODBC to do that. See http://www.easysoft.com/developer/interfaces/odbc/linux.html ("Linux/UNIX ODBC") and http://libodbcxx.sourceforge.net/ ("libodbc++") in particular.
0

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now