Solved

data from sybase to mysql

Posted on 2003-11-25
3
1,192 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
To form a query 10 405
SQL Sybase - Convert Rows to Columns 10 494
sql anywhere query 5 143
Lazarus: saving BLOBs from Sybase database 3 159
Starting your own business is always a daunting process, and for most people it is brand new experience. Avoid the common pitfalls by following these tips to start on the road to success.
The advancement in technology has been a great source of betterment and empowerment for the human race, Nevertheless, this is not to say that technology doesn’t have any problems. We are bombarded with constant distractions, whether as an overload o…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

839 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