Linked Server with CName

  • I am just checking my logic.

    I currently have a linked server between two SQL 2008 servers that works fine.

    ServerA and ServerB

    So to query from A to B I would do something like.

    select top 10 * from ServerA.clients.dbo.customers

    Works OK.

    Admin wants to implement a CName for the server. In this example it would be fully qualified like:

    OLTPDBServer.MyCompany.Com.Au (for example)

    1. I think I have to create a new linked server using this new CName to run along side the existing linked server, this way I can use either name to reference the server?

    i.e

    select top 10 * from ServerA.clients.dbo.customers

    OR

    select top 10 * from [OLTPDBServer.MyCompany.Com.Au].clients.dbo.customers

    If I only have one linked server then I can only connect via that one name - ServerA or OLTPDBServer.MyCompany.Com.Au

    Does this sound right?

    thanks

  • Hi,

    That's correct..

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

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