• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2775
  • 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.
0
gudii9
Asked:
gudii9
  • 2
2 Solutions
 
grant300Commented:
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
http://www.experts-exchange.com/Database/Sybase/Q_23090244.htm

More general information on trying to convert from Sybase to Oracle with
http://www.experts-exchange.com/Database/Sybase/Q_23822595.html

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.

Regards,
Bill
0
 
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.
0
 
grant300Commented:
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.

Regards,
Bill

PS, I use RapidSQL all the time so it is not an issue of not knowing how to solve it with that tool.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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