Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Re: Connecting SQL Server from Oracle
Jagadish,
I've written a step by step document for this for use in my office. Unfortunately it is there where I can't access it right now (on vac.). However, I think there was an Oracle-L thread about that a while back. A search for tg4msql might point you that direction. All in all, the concept is pretty simple. What you want to do is install Tranparent Gateway for Sql Server from the Oracle Server CD on your Sql Server host (It doesn't have to be on the same machine, but is easier to configure that way).
There is a document you should read (on metalink):
How to Setup TG4MSQL (Transparent Gateway for MS SQL Server) 231458.1
and on otn.oracle.com:
http://otn.oracle.com/pls/db92/db92.show_toc?partno=a96544&remark=drilldown&word=tg4msql
Now, all that said, if you're just wanting to do simple data transfers
between the 2 systems, perhaps like a snapshot, driving this from the Sql
Server side is much easier. My recommendation there is to:
1) Install the Oracle client software on the Sql Server host. Configure
tnsnames.ora, etc.
2) Use dts packages to push or pull data. (And when creating dts packages,
use Microsoft's OLE DB driver for Oracle, it seems to be the most stable.
This is as apposed to the ODBC driver from either vendor.)
So, if it is simple data copy transfers dts is one way, but if you need to use complex sql or even pl/sql, you might need the gateway because procedural programming is 1000% more robust from the Oracle side.
Good luck!
> May I know how to connect SQL Server 2000 from Oracle..in a step by step
> manner..any link is also appreciated..thank you
-- Archives are at http://www.freelists.org/archives/oracle-l/ FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html -----------------------------------------------------------------Received on Sun Jul 25 2004 - 23:49:13 CDT