sql server - Referencing another table in T-SQL not working -


i've been running query on large number of servers, , on 3 of them (sql2000, sql2005 , sql2008) query fails. i've boiled down referencing table in db.

select * master.dbo.syslogins syslogins 

which works on 99% of servers, on 3 gives:

invalid object name 'master.dbo.syslogins' 

if switch master db , run

select * dbo.syslogins syslogins 

then works. i've checked have permissions running

select is_srvrolemember('sysadmin'); 

which returns 1. why referencing master.dbo.syslogins table fail?

maybe server set case sensitive collation. try

select * master.dbo.syslogins


Comments

Popular posts from this blog

Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12:test (default-test) on project.Error occurred in starting fork -

windows - Debug iNetMgr.exe unhandle exception System.Management.Automation.CmdletInvocationException -

unity3d - Fatal error- Monodevelop-Unity failed to start -