Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2012 Forums
 SQL Server Administration (2012)
 linked server

Author  Topic 

noamg
Posting Yak Master

215 Posts

Posted - 2014-01-22 : 03:24:12
I define a linked server and got the following error:
The object name '[OXFORD\BA].master.dbo.Mirroring.Config' contains more than the maximum
number of prefixes. The maximum is 3.

why ?


Noam Graizer

ditch
Master Smack Fu Yak Hacker

1466 Posts

Posted - 2014-01-22 : 05:28:01
should 'Mirroring.Config' not be contained inside []'s ?
select * from [OXFORD\BA].master.dbo.[Mirroring.Config]

Duane.
http://ditchiecubeblog.wordpress.com/
Go to Top of Page

noamg
Posting Yak Master

215 Posts

Posted - 2014-01-22 : 05:40:36
sorry everybody.
the mistake is that schema is Mirroring and not dbo
thanks

Noam Graizer
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2014-01-22 : 08:44:02
quote:
Originally posted by noamg

sorry everybody.
the mistake is that schema is Mirroring and not dbo
thanks

Noam Graizer


then it should be referenced as
[OXFORD\BA].master.Mirroring.Config

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/
https://www.facebook.com/VmBlogs
Go to Top of Page
   

- Advertisement -