Calling an Oracle stored procedure from SQL Server
Is it possible to call an Oracle stored procedure from SQL Server?

Software/Hardware used:
ASKED: August 8, 2008  3:59 PM
UPDATED: May 10, 2010  2:46 PM

Answer Wiki:
Yes it is. You will need to setup a linked server from the SQL Server to the Oracle server. Then use the three part name of the procedure you want to run. Don't forget the double dot to convert the Oracle three part name into the SQL Server four part name. <pre>exec OracleServer..Schema.Object</pre> When setting up the linked server you will need to make sure that you enable RPC and RPC out. Depending on the Oracle procedure you may need to have <a href="http://itknowledgeexchange.techtarget.com/sql-server/how-to-configure-dtc-on-windows-2003/">MS DTC setup</a> as well as either MS DTC on the Oracle server (if it's running Windows) or the native Oracle Distributed Transaction Coordinator to get it all working correctly.
Last Wiki Answer Submitted:  May 10, 2010  2:46 pm  by  Richonet   105 pts.
All Answer Wiki Contributors:  Richonet   105 pts. , Denny Cherry   64,520 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

Check out my SQL Server blog “SQL Server with Mr Denny” for more SQL Server information.

 64,520 pts.