T-SQL Tuesday #081: Sharpen Something
This month I am asking you to not only write a post but to do a little homework - first. In other words, plan to do something, carry out...
2016-07-27
13 reads
This month I am asking you to not only write a post but to do a little homework - first. In other words, plan to do something, carry out...
2016-07-27
13 reads
Sharpen Something
It has now been 30 months since the last time I hosted a TSQL Tuesday, that was TSQL Tuesday...
2016-07-27
927 reads
UPDATE November 2016 – With SQL Server 2016 SP1, Microsoft will include key enterprise-class features in every edition of SQL Server...
2016-07-27
539 reads
I recently collaborated with Idera to produce a short whitepaper on the top 5 things to audit in SQL Server...
2016-07-27
1,041 reads
I frequently need to know where backups went and I restore those backups for operational recovery on a regular basis....
2016-07-27
861 reads
This week SQL Server 2016 Cumulative Update 1 was released and it contains a lot of updates/fixes for SSIS, SSAS,...
2016-07-27
2,975 reads
SQL Server 2016 CU1 has been released and one thing I noticed was: –
FIX: Canceling a backup task crashes SQL...
2016-07-27
857 reads
This is the last course of my July training month. This is my second course this week. Yesterday I was...
2016-07-27
1,001 reads
[read this post on Mr. Fox SQL blog] When it comes to deploying SQL Server onto an Azure IaaS VM, it is sometimes difficult to know the best option to deploy the SQL Server...
2016-07-26
49 reads
[read this post on Mr. Fox SQL blog]
When it comes to deploying SQL Server onto an Azure IaaS VM, it is sometimes difficult...
2016-08-01 (first published: 2016-07-26)
3,241 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