Google Answers Logo
View Question
 
Q: Oracle commands to SQL Server database ( No Answer,   2 Comments )
Question  
Subject: Oracle commands to SQL Server database
Category: Computers > Programming
Asked by: coleski-ga
List Price: $2.00
Posted: 03 Mar 2005 07:49 PST
Expires: 02 Apr 2005 07:49 PST
Question ID: 484008
Technical question;  Is is possible to execute an SQL select statement
from within Oracle to select data from a SQL SERVER database table? 
And vice versa.
Thanks
Cole
Answer  
There is no answer at this time.

Comments  
Subject: Re: Oracle commands to SQL Server database
From: tiborbiro-ga on 03 Mar 2005 10:10 PST
 
You can do it from SQL by adding the Oracle server instance as a linked server. 

I do not think it is possible the other way.
Subject: Re: Oracle commands to SQL Server database
From: scubajim-ga on 03 Mar 2005 16:36 PST
 
You can do it in Oracle in a couple of ways. (depends upon version -
you didn't indicate what version of things you have)
1. In Oracle load the thin Java client for MS and write a pl/sql
wrapper for the select to call the Java JDBC driver to call MS SQL
Server.
2. Buy Oracle's Transparent gateway product.
3. Write an external routine in Java, C etc. and have Oracle call that
as a function.  You will have to write a pl/sql mapping wrapper.  See
documentation for a generic example of writing an external call out.

I don't know about going the other way. (MS SQL Server to Oracle)  You
can write something as an external program on SQL Server and have it
call that.  The external program could use ODBC to connect to Oracle
(You would need the Oracle client installed on the SQL Server
machine.)  You can download the client from otn.oracle.com

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy