This error occurs when you try to execute a stored query over a database it's not associated with. This can occur when calling a stored query from within another query. To solve this issue, update the stored query such that it can be executed against "All Databases" in Studio:
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article