I would expect this to set the applicationintent parameter in the connection string, but I'm not sure how to see the actual connection string and I get this error:
pytds.tds.OperationalError: The target database ('DATABASE') is in an availability group and is currently accessible for connections when the application intent is set to read only.
I would expect this to set the applicationintent parameter in the connection string, but I'm not sure how to see the actual connection string and I get this error:
pytds.tds.OperationalError: The target database ('DATABASE') is in an availability group and is currently accessible for connections when the application intent is set to read only.
Is there something else that needs to be done?