You are here: When Linking A Server; Only System Tables Are Accessible! « MsSQL Server « IT news, forums, messages
When Linking A Server; Only System Tables Are Accessible!

Posted by mike on 12/08/05 22:49

I added a linked server successfully; but the only tables accessible are
only the system tables!
I do have all the rights on both servers (Windows & SQL server).

All the non system tables are designated as DBO.

Strange thing is that I was able to access the non system tables only
from the query analyzer (not from the SQL Manager tree) by using the
following script:


EXEC sp_addlinkedserver 'LINKED_SERVER_NAME', N'SQL Server'
GO
Set ANSI_NULLS on
Set ANSI_WARNINGS on
GO
Select * From LINKED_SERVER_NAME.Database_name.DBO.table_name
GO

Thank you very much

Mike

*** Sent via Developersdex http://www.developersdex.com ***

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация