LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-11-2011, 07:05 AM   #1
funkyaryan81
LQ Newbie
 
Registered: Aug 2011
Posts: 2

Rep: Reputation: Disabled
Exclamation Connect to MS SQL server using C++ in RHEL


Hi,

I am using RHEL 5.
I want to connect to ms sql server using c++
Can anyone provide me a step by step instructions to do the same.
Thanks in advance.

Regards,
Sidharth Shah
 
Old 08-11-2011, 12:34 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,961

Rep: Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693Reputation: 3693
Quote:
Originally Posted by funkyaryan81 View Post
Hi,
I am using RHEL 5.
I want to connect to ms sql server using c++
Can anyone provide me a step by step instructions to do the same.
Thanks in advance.
Sure:
  1. Get MSSQL server up and running
  2. Write C++ code
  3. Compile
  4. Debug
  5. Test
  6. Use newly written program
Really, that's the best 'step-by-step' anyone can give you. No one here is going to know what you want your program to do, what your skill level is, what you've got to work with, or what your goal(s) are. Since it's an SQL server, you can use ODBC connectivity to access it over a network. There are many API's that you can use...which one is going to be up to you.

Also, you can find about 13 MILLION hits on Google, where all of this is well documented:
http://stackoverflow.com/questions/2...ver-from-linux
http://www.cplusplus.com/forum/windows/2864/
http://www.sqlapi.com/

Last edited by TB0ne; 08-11-2011 at 12:36 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
C program to connect to MS SQL server wiener Linux - Newbie 8 10-21-2009 03:17 PM
SQL Anywhere to connect to MySQL Server crackyblue General 0 06-22-2009 08:42 PM
Connect to MS SQL Server from linux C++ ? skosanba Linux - Software 0 08-14-2006 09:05 AM
Connect to ms sql server from linux RH saustin99 Linux - Newbie 1 02-17-2006 06:07 PM
Connect to SQL Server dhome Linux - Software 1 03-08-2004 01:56 PM


All times are GMT -5. The time now is 08:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration