how to export sybase 12.0 database tables into .csv file and import into oracle 10g database tables

I would like to export sybase 12.0 database tables into .csv  so that i can use oracle10g built in utility tool sql Loader to import into oracle workspace.Can you please tell me the process how should i go about this exporting and importing from sybase database into oracle 10g database.Any links,resources,ideas are highly appreciated.Thanks in advance.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

The tool you use with Sybase is called BCP (Bulk CoPy).  It can either import or export (unlike SQL*Loader) data and can do it in native or character format.  You can even use a SQL query to write all of the BCP out commands you need.

The real issue is how you are going to build your Oracle table and how you are going to deal with data type incompatibilities.  There was another recent question on this in EE something to the effect of looking for an open source tool to do all this automatically.  Let me see if I can find it....

Well a similar question was answered with

More general information on trying to convert from Sybase to Oracle with

The short answer is that moving the data is easy.  It is all the other stuff you are going to run into that will make this job tough.

BTW, if you are looking for a GUI tool to develop jobs to move data and do things like type conversions on the fly, I would look at Talend.  It is an open source ETL (Extraction, Transformation, and Loading) tool that can do this kind of thing on a repetitive basis.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
gudii9Author Commented:
I am using Embarcadero Rapid SQL 7.5.5 to connect to sybase 12.0 database and i can see all the tables there.How to export those tables into .csv file.Can you please tell me the step by step procedure to export within RapidSql tool.
I think I just answered this in another one of your questions.

The answer is:
1)  There is no easy way to do it in bulk in RapidSQL
2)  RapidSQL will take a long time and will just fail on tables of significant size.

BCP is THE tool for this job.  See the details in the other question.


PS, I use RapidSQL all the time so it is not an issue of not knowing how to solve it with that tool.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Oracle Database

From novice to tech pro — start learning today.