Solved

Copy data of table from sybase to oracle

Posted on 2006-06-26
6
554 Views
Last Modified: 2009-07-29
Hi,
 I have a table in Sybase with data in it, also I have the same table in Oracle DB without data in it.
how do I copy the data of the Sybase table to the Oracle table

thanks.
0
Comment
Question by:madmare
[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
6 Comments
 
LVL 16

Expert Comment

by:MohanKNair
ID: 16983203
Oracle generic connectivity is a solution. Create an ODBC link to Sybase database. Using Oracle Heterogeneous services it is possible to link to Sybase schema from Oracle DB Link.

See this link for a worked out example for transferring data from Excel to Oracle via ODBC
http://asktom.oracle.com/pls/ask/f?p=4950:8:9636653191842517523::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:4406709207206#18830681837358
0
 
LVL 14

Expert Comment

by:sathyagiri
ID: 16996975
Another way would be to create a comma separated list of your data from sysbase into a text file.
Then use SQLLOADER to load into ORACLE.
0
 

Author Comment

by:madmare
ID: 16997780
sathyagiri , how do I create comma separated list of data from sysbase into a text file ?
0
 
LVL 14

Accepted Solution

by:
sathyagiri earned 500 total points
ID: 16998074
You could write a sql command to do that, something like

select col1||','||col2||','||coln from <tname> ;

and spool the output into a text file.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Many companies are looking to get out of the datacenter business and to services like Microsoft Azure to provide Infrastructure as a Service (IaaS) solutions for legacy client server workloads, rather than continuing to make capital investments in h…
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

730 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