I have not been administering for awhile so I am having some memory lapses.
I am trying to connect to linked server
exec 'server1\server1'.pubs.dbo.spname
Getting Incorrect syntax near 'server1\server1'
Can someone tell me what I am doing wrong?
Cheryl