Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

database link between Oracle 11g and MS Sql Server 2005 EE

601179May 19 2008 — edited Oct 14 2008
Hi everybody,
I trying to create database link from Oracle 11g to MS Sql and I'm not succesful.
I found tutorial for Oracle 10g, but it does't work.
I created odbc data source, then I modified tnsnames.ora and listener.ora, then I created initkw.ora in HS directory and then I created dabase link, but it does't work.

Can you help me please? Thanks for help ... ondra

Tnsnames.ora:
KW =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = tcp)(HOST = oracle_ip)(PORT = 1521))
)
(CONNECT_DATA =
(SID = KW)
)
(HS = OK)
)

listener.ora:
(SID_DESC =
(SID_NAME = KW)
(ORACLE_HOME = C:\oracle\product\11.1.0\db_1)
(PROGRAM = hsodbc)
)

initkw.ora
HS_FDS_CONNECT_INFO = kw
HS_FDS_TRACE_LEVEL = 0
HS_FDS_TRACE_FILE_NAME = kw.trc

create public database link KW connect to "user" identified by "pass" using 'KW';

Message was edited by:
user598176
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 11 2008
Added on May 19 2008
7 comments
4,432 views