Sybase to Oracle data load.

Hi,

I would really appreciate it if someone would tell me how to load Oracle data(single table or an entire schema) to Sybase database.
Looking forward for an early reply.

Thanks,
Chakry
chakryreddyAsked:
Who is Participating?
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.

chakryreddyAuthor Commented:
Sorry the title should be Oracle to Sybase data load.
0
gletiecqCommented:
Export the Oracle data to a text file.  Then use Sybase's bcp to load the data from that file.  I'm not an Oracle guy, so you may have to check your documentation in how to export like that, but I can't believe it's that hard.  You'll need to do this table-by-table.

Greg
0
HamdyHassanCommented:
Oracle's export is producing binary that is readable only by Oracle's import.

Idea is to use sqlplus to extract data to text file, with delimiter like "|" between fields, then import that using bcp in

Let me know
0
Cloud Class® Course: MCSA MCSE Windows Server 2012

This course teaches how to install and configure Windows Server 2012 R2.  It is the first step on your path to becoming a Microsoft Certified Solutions Expert (MCSE).

amitpagarwalCommented:
Oracle has no tools to export data out of its Databases (except in native format).

you can look at a commercial product
http://www.ispirer.com/products/
0
HamdyHassanCommented:
Example,

you want to extract oracle table mytable which contains f1,f2,f3

sqlplus -silent $DBID/$DBPW@$DBHOST  @extract_mytable.sql >/dev/null 2>&1

--------------------------------
content of extract_mytable.sql
--------------------------------
SET NEWPAGE 0
SET PAGESIZE 0
SET ECHO OFF
SET FEEDBACK OFF
SET HEADING OFF
SET TRIMSPOOL ON
spool mytable.txt
SELECT f1,"|",f2,"|",f3 FROM mytable
;
spool off
quit


Now, you will have a nice mytable.txt ready to bcp in using "|" as a delimiter
0

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
AchetonCommented:
If you are running ASA instead of AS* try using the  sa_migrate function. The other option is to set up a Remote server to the Oracle database and then suck the data across at will using SQL or the sa_migrate function.
0
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
Sybase Database

From novice to tech pro — start learning today.

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.