Quantcast
Channel: SQLServerCentral » SQL Server 7,2000 » Working with Oracle » Latest topics
Viewing all articles
Browse latest Browse all 86

create Linked Server to Oracle DB - Is this TSQL Script correct? - Novice

$
0
0
Installed the Oracle 11g client on the SQL Server 2010 server. Using the Select Directory Server - the dengs.eo.com with the port xxxx shows Available = Yes PLMKR5 is the service name[b]Quetion - is the script to use to create a linked table? It receives an error when trying to expand the Tables.[/b]USE [master]GO--Create the Oracle Linked Server: EXEC sp_addlinkedserver 'FinderFile14', 'Oracle', 'OraOLEDB.Oracle', 'PLMKR5.eo.com:1521/dengs'-- Actual names / un/ pw modified EXEC sp_addlinkedsrvlogin 'FinderFile14', 'FALSE', NULL, 'rm', 'rmX'[b]The Oracle DBA sent this script to me:[/b]PLMKR5.DEN.EO.COM = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)(HOST = dengs.eo.com)(PORT = 1521)) ) (CONNECT_DATA = (SERVICE_NAME = PLMKR5.DEN.EO.COM) )In SQL Server SSMS -the Providers list OraOLEDB.Oracle(this is a a new server, we didn't quite get the last one connected because it was an oracle verson 6)This server is Oracle 11g

Viewing all articles
Browse latest Browse all 86

Trending Articles