Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Linked Oracle Database????

Status
Not open for further replies.

Rizla

Programmer
Jun 12, 2001
16
0
0
GB
I have linked my SQL Server to an Oracle database, I can see all of the tables and views, but i cannot open them!! I only have the options 'Copy' and 'Help' when i right click on a table.

i can see/do everything when i log in through Oracle but cant through SQL Server.

Helllllpp
 
I'm sure your linked db connection has been set up correctly as you can see the tables of your linked server.
I only have the copy and help too. So this is the way I use my linked DB.

select * from openquery ( DBLINK ,'select * from TABLE')

Hope this helps
GL

Rosko
 
Also try "SELECT * FROM DBLINK..OWNERID.TABLENAME"

Note the 2 dots between the dblink name and the table owner name...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top