• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2931
  • Last Modified:

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.
  • 2
2 Solutions
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.

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.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now