Results 1 to 2 of 2

Thread: Can you fully qualify a server name in T-SQL?

  1. #1
    babreu Guest

    Can you fully qualify a server name in T-SQL?

    I know that you can fully qualify a database and dbo in a statement, but is it possible to do this for different servers? For example, if you have three different servers registered in Enterprise Manager, can you write a script that could query any of the three servers?

  2. #2
    Ray Miao Guest

    Can you fully qualify a server name in T-SQL? (reply)

    Create linked server first then you can query it with server_name.db.owner.obj_name.


    ------------
    babreu at 6/30/00 12:51:21 PM

    I know that you can fully qualify a database and dbo in a statement, but is it possible to do this for different servers? For example, if you have three different servers registered in Enterprise Manager, can you write a script that could query any of the three servers?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •