I'm executing a stored procedure on an Azure SQL database.
The procedure is being called via Linked Server from a SQL Server Agent job on a local SQL Server instance:
EXEC ('EXEC azuredb.dbo.FullProcess') AT [MYAZURESERVER.DATABASE.WINDOWS.NET]
After ca. 12 minutes of execution I get an query timeout error:
OLE DB provider "SQLNCLI11" for linked server "MYAZURESERVER.DATABASE.WINDOWS.NET" returned message "Query timeout expired".
How can I disable/control remote timeout period? I tried setting the "Remote Query Timeout" to 0 in the Linked Server settings, but it doesn't seem to have an effect. Also, there seems to be no such setting on the Azure SQL Server.