Link to home
Start Free TrialLog in
Avatar of Mr_PC2000
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
Avatar of JackOfAll1
JackOfAll1
Flag of United States of America image

I am not sure what you are asking.  

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



Avatar of Mr_PC2000
Mr_PC2000

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.
ASKER CERTIFIED SOLUTION
Avatar of JackOfAll1
JackOfAll1
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial

Thank you J.

can I use that ODBC connection via bcp? if yes a small example I am dying for to find out.