Solved

data from sybase to mysql

Posted on 2003-11-25
3
1,190 Views
Last Modified: 2011-09-20
hi all,
i'm not used on sybase. So maybe it's an easy question for you experts... anyway: i have a sybase db.
I need to export data from the db, to import them into a mysql db.
I don't know the structure of the sybase db, but of course it is different from new mysql db structure. So i have to parse the export file and put data in their new position.
How should i export a "parsabe" file from sybase? something like a csv or similar?
How could I know the db structure?

thanx in advance

franz
0
Comment
Question by:jazz74
  • 2
3 Comments
 
LVL 2

Expert Comment

by:jkotek
ID: 9816659
Hi Franz,
For ASEnterprise the best way is to use utility called "bcp" (Bulk CoPy). You specify the table you want to export, connection details and the filename. There are also many switches for formatting the data - field/row delimiters etc.

And to know what user tables are in ASE? Switch to your database amd use select name from sysobjects where type='U' .

For ASAnywhere use the dbunload utility - you get a bunch of csv files.
0
 
LVL 6

Accepted Solution

by:
ChrisKing earned 125 total points
ID: 9823186
if you are a mySQL person, I am sure you are aware of phpMyAdmin

well you may want to try the Sybase port - phpSybaseAdmin
see details at: http://freshmeat.net/projects/phpsybaseadmin/?topic_id=68
0
 
LVL 6

Expert Comment

by:ChrisKing
ID: 9963508
jazz74
please return to the question
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Cannot create ODBC connection over the network 3 1,206
How would you store an Access 2003 memo data type field in Sybase. 1 554
How do we check sybase license in ASE 1 2,684
SQL Query Help! 11 116
Note: This is the third blog post in a series on email clearinghouses (https://www.xmatters.com/alert-management/blog-email-has-failed-us?utm_campaign=70138000000ydLoAAI&utm_source=exex&utm_medium=article&utm_content=blog-post).   We’ve been talki…
In 2017, ransomware will become so virulent and widespread that if you aren’t a victim yourself, you will know someone who is.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now