Solved

data from sybase to mysql

Posted on 2003-11-25
3
1,197 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

739 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