LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 04-21-2020, 02:50 PM   #1
Beprash
LQ Newbie
 
Registered: Apr 2020
Posts: 2

Rep: Reputation: Disabled
Migration from sybase to mssql in Linux for c program


Hi,
We are trying to migrate sybase database to mssql, we have a path /usr/sybase/sqlib/sqlib.c which contains the implementation for sqlopen(),sqlwrite()....etc.
We are searching for the relavent one for Mssql on Linux can anyone please tell us in this regards.
Thanks in advance.
 
Old 04-21-2020, 06:04 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Beprash View Post
Hi,
We are trying to migrate sybase database to mssql, we have a path /usr/sybase/sqlib/sqlib.c which contains the implementation for sqlopen(),sqlwrite()....etc.
We are searching for the relavent one for Mssql on Linux can anyone please tell us in this regards. Thanks in advance.
Read the "Question Guidelines" link in my posting signature; do basic research first before posting, because there are over 7 MILLION hits for "connect to mssql in c on linux" in Google. The very first one:
https://github.com/microsoft/sql-ser...orials/c/linux

...with instructions and examples. Not sure why you don't just do a simple export from Sybase to a CSV file, and import it, since there are built-in importers that do just that.
 
1 members found this post helpful.
Old 05-05-2020, 09:50 PM   #3
Beprash
LQ Newbie
 
Registered: Apr 2020
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hi,

We are trying to connect with the Sql server on suse Linux. What are the API we need to install on Linux for c programs to connect to the database library

Thanks
 
Old 05-06-2020, 08:03 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by Beprash View Post
Hi,
We are trying to connect with the Sql server on suse Linux. What are the API we need to install on Linux for c programs to connect to the database library
Right; that's what you said before...restating your question does nothing. Did you read the link that was looked up for you and GIVEN to you in the first reply???

And can you answer the question of why you can't do a dump to CSV, and import???? Or tell us anything about the Linux system or database??? Any why are you even using Linux to start with??? If you're going *TO* Microsoft SQL, you've obviously got Windows running already...connect directly to Sybase from Windows

Last edited by TB0ne; 05-07-2020 at 10:00 AM.
 
  


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
IMAP Mailbox Migration utility for Gmail/iCloud and Calendar Migration tips TB0ne LinuxQuestions.org Member Success Stories 0 03-10-2013 12:33 PM
Program type out of range erro when trying to connect QT with MSSQL urup Linux - Software 1 01-30-2010 01:31 PM
Mysql 4-5 migration as well as character set migration from latin1 to utf8? helptonewbie Linux - Server 3 05-15-2008 05:15 AM
How to connect to mssql using c program raiux Programming 1 04-10-2008 04:21 AM
Sybase to Oracle 9i migration ronjiro Programming 1 01-28-2005 10:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 01:43 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