Solved

data from sybase to mysql

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Sybase How do we check ASE memory in MB or Gb ? 3 2,577
SQL Substring Extraction 4 538
How do we check sybase license in ASE 1 2,476
Clean up a mailbox 5 146
Scam emails are a huge burden for many businesses. Spotting one is not always easy. Follow our tips to identify if an email you receive is a scam.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

705 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