Multiple databases under a linked server

  • Hi all,

    I have 2 sql 2000 servers. Lets call them A and B. B is linked on A. The permissions are in place and set correctly, but on A, the link server B is only showing tables and views from the default database!

    If I do an sp_catalogs against the linked server it shows all the databases.

    So what am I doing wrong?

  • Have you tried querying tables in other databases than default? I think it might just show the default ones, but you should be able to query other ones.

    - Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
    Property of The Thread

    "Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon

  • You haven't done anything wrong. By default EM only displays objects for the users default database when opening a linked server node. You should be able to query any database using proper 4 part naming.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic. Login to reply