Mr_PC2000
asked on
Dump table, column, row via ODBC via bcp
I am experimenting with ODBC. I want to pull 1 to 2 tables from a database which is in Oracle SQL Server. I connect into this Oracle database server via ODBC.
Via bcp utility can I? If So any very small exmple to be clear where I must look into? Something says me there is huge incompability between.
Thanks. Mr_P
Via bcp utility can I? If So any very small exmple to be clear where I must look into? Something says me there is huge incompability between.
Thanks. Mr_P
ASKER
Hello JackOfAll1. Thank you.
I have an ODBC connection setup already. I can use I guess any query utility via this ODBC successfully and I am currently.
I want to get Table(s) from Oracle and dump them in SQL Server periodically once a week or once a day. That is want I want to do.
I have an ODBC connection setup already. I can use I guess any query utility via this ODBC successfully and I am currently.
I want to get Table(s) from Oracle and dump them in SQL Server periodically once a week or once a day. That is want I want to do.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank you J.
can I use that ODBC connection via bcp? if yes a small example I am dying for to find out.
Oracle and SQL Server are two different dbms's.
Oracle's load utility is SQL Loader.
SQL Server uses BCP.
The two load utilities are not compatable.
If you want to take data from Oracle and load it into SQL Server you can use SQL Loader to extract the data from the table in a tab delimited format and then use BCP to load the data in SQL Server.
You will need to set up the utilities seperately.
Hth