Q

Calling stored procedures in SQL Server to insert data in Oracle

I have two DB servers: one is SQL Server, the other is Oracle. I need to call some stored procedure in SQL Server in order to insert some data in Oracle. How I could do that?

I have two DB servers: one is SQL Server, the other is Oracle. I need to call some stored procedure in SQL Server in order to insert some data in Oracle. How I could do that?
Oracle includes Heterogenous Services (HS) which lets you query a non-Oracle database through a database link, just as if the remote database were another Oracle database. The remote database can be MS SQL Server if you choose. Have a look at the Oracle documentation on HS.
This was last published in March 2006

Dig Deeper on Oracle database design and architecture

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Join the conversation

1 comment

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

Can anyone give me examples how to run an SQL server stored procedure which query records of a table and then insert those queried records to Oracle table. I am using Oracle 10G with OS WinXP and the SQL server resides on Win2003 using SQL Server 2008.

The Format I need is like this :

INSERT INTO Oracle.table (column1, column2, .... column10)
EXEC dbo.Sql_Server_SP

Please help, i do really appreciate it. TIA ...
Cancel

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close