LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-10-2008, 02:37 AM   #1
raiux
LQ Newbie
 
Registered: Nov 2007
Posts: 9

Rep: Reputation: 0
How to connect to mssql using c program


Hello friends .
My issue is to connect to mssql database from fedora core so that
i can dump the data into mysql from 'c' API .
The way we are using mysql 'c' API to connect to mysql database
for query and insert the data , i need a mssql c API .
I come across freetds with provide the API to connect to mssql
but it has a php and perl example to connect to databses.
How to preform mssql programming in c using freetds or any other deriver ?
please help me out , looking forwad for some solution .

Last edited by raiux; 04-10-2008 at 02:39 AM.
 
Old 04-10-2008, 04:21 AM   #2
datopdog
Member
 
Registered: Feb 2008
Location: JHB South Africa
Distribution: Centos, Kubuntu, Cross LFS, OpenSolaris
Posts: 806

Rep: Reputation: 41
The freetds libs are written in C so you can use that to connect to mssql that is how the php extention is created in the first place.
 
  


Reply



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
oracle to mssql erat123 Programming 1 06-18-2007 08:12 AM
Alternative for MSSQL paddyjoy Linux - Software 5 07-02-2005 08:53 PM
MySQL to MSSQL zak3 Programming 1 01-22-2004 02:16 AM
Perl / MSSQL edbravo Programming 1 02-14-2002 04:57 AM
Perl/mssql edbravo Linux - Newbie 0 02-13-2002 04:19 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 10:55 PM.

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
Open Source Consulting | Domain Registration