Setting up Cross Database Queries in Azure SQL Database
A question that I answer what seems like all the time is how to run cross-database queries against Azure SQL...
2017-06-12 (first published: 2017-05-30)
3,736 reads
A question that I answer what seems like all the time is how to run cross-database queries against Azure SQL...
2017-06-12 (first published: 2017-05-30)
3,736 reads
In this module you will learn how to use the Play Axis Power BI Custom Visual. The Play Axis visual...
2017-06-13 (first published: 2017-05-30)
1,679 reads
Watch this week's video on YouTube
So you've started using temporal tables because they make your point-in-time analysis queries super easy.
Your manager is happy because you're getting historical data to...
2017-05-30
48 reads
SQL Server administration, once installed and running, doesn’t vary too much based on your operating system, but the differences in...
2017-05-30
1,039 reads
I’m a huge fan of Ola Hallengren‘s free utility scripts. If you aren’t familiar with it, it’s a great tool to...
2017-05-30
374 reads
I’m a huge fan of Ola Hallengren‘s free utility scripts. If you aren’t familiar with it, it’s a great tool to...
2017-06-12 (first published: 2017-05-30)
4,015 reads
Always Encrypted on SQL 2016 is pretty easy to set up. There’s even a single wizard to guide you through...
2017-06-09 (first published: 2017-05-30)
8,719 reads
It's the start of a SQLSat summer for me, with Pensacola this weekend on Saturday June 3, then Houston two...
2017-05-30
556 reads
What Are Filtered Indexes
Filtered indexes are essentially an index with a predicate on them filtering the data that gets stored...
2017-05-30
76 reads
Hi Guys,
Hope everyone is doing well. Last week, I was working on the most exciting task on which any database...
2017-05-30
872 reads
By Steve Jones
I was experimenting with CHOOSE() recently after I was asked a question. In a...
By DesertDBA
I did not expect 27 responses to my T-SQL Tuesday #204 invitation, but it...
Should you adopt an off-the-shelf AI tool, partner with a specialist, build in-house, or...
Has anyone ever seen this before? I have sysadmin permission on a server. I...
Comments posted to this topic are about the item Switching Schema II
Comments posted to this topic are about the item A Practical Approach to Automating...
I run this query:
SELECT s.name AS schemaname , o.name AS objectname FROM sys.objects o INNER JOIN sys.schemas s ON s.schema_id = o.schema_id WHERE o.name = 'Beer'I get two rows back for the objects, named dbo.beer and etl.beer. Both the tables have identical schemas and are not partitioned. There are 25 rows in dbo.beer and 0 rows in etl.beer. I run this code:
ALTER TABLE dbo.beer switch TO etl.beerWhat happens? See possible answers