Can I use four-part name using AG Listener name?

  • Can I or should I be able to use AG Listener Name in a four-part name? Select * from [AGListener].[DBName].schema.object

    I get an error when using the listener name but not when using the node name.

    "Could not find server 'AGListener Name' in sys.servers...."

    The application is trying to pass the listener name when running some stored procedures.

    Thank you

  • You should be able to use the AG listener name in your queries. You will need to add it as a linked server

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

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