Hi,
I am trying to create a job that runs against my High Availability listener server.
It is a fairly simple SQL statement in the job - execute tsql.
When I try and run the job I get the error:
I thought there was a way to run a select statement as a job? The tsql step is only a select.
I am trying to create a job that runs against my High Availability listener server.
It is a fairly simple SQL statement in the job - execute tsql.
When I try and run the job I get the error:
Executed asuser: NT SERVICE\SQLAgent$SQL2014A. The target database('BB_Prod')isin an availability groupandis currently accessible for connections when the application intent issettoread only.For more information about application intent, see SQL Server Books Online.[SQLSTATE 42000](Error 978). The step failed.
I thought there was a way to run a select statement as a job? The tsql step is only a select.
qeqw