scarydba.com
Cross Database Query in Azure SQL Database - Grant Fritchey
You can’t query across databases in Azure SQL Database… or can you? Let’s check. I’ve created two new databases on an existing server: I’ve created two tables on each respective database: [crayon-5b39232b4b189577569966/] Now, let’s query the DB2 table from the DB1 database: [crayon-5b39232b4b195202616871/] And here’s the lovely error message: Msg 40515, Level 15, State 1, …