I have an Open query that runs on an Always On server via a linked server and does selects * only.
Select * into #Temptable from openquery (linked server)
The linked server in its connection properties specifies application intent as ReadOnly, so this query should run on the secondary node but we find that it runs on the primary node.
Has anyone experienced a similar issue and know why does this happen?
Thanking you in anticipation.