Cochran-Mantel-Haenzel Method with T-SQL and R – Part I
This test is an extension of the Chi Square test I blogged of earlier. This is applied when we have...
2017-06-12
578 reads
This test is an extension of the Chi Square test I blogged of earlier. This is applied when we have...
2017-06-12
578 reads
VS Code is my coding tool of choice. I love that one lightweight editor can do so much and as...
2017-06-12
584 reads
Below is the script to create the table and dataset I used. This is just test data and not copied...
2017-06-12
455 reads
What is an Index?
We often hear indexes explained using the analogy of an index in the back of a book....
2017-06-12
1,608 reads
Morning all, busy week last week as I was lucky enough to have my session on SQL Server & Containers in...
2017-06-12
289 reads
1. What are IaaS, PaaS and SaaS?
Basically these are cloud service models for cloud offerings. These are categorized on the...
2017-06-12
808 reads
The release of Microsoft SQL Server 2017 brought a lot of very interesting new features. One of them is the...
2017-06-12
983 reads
A few weeks ago I was looking at a query and got tripped up by the network and my own forgetfulness. It was a pretty simple query with a...
2017-06-12
14 reads
2017-06-11
1,408 reads
Imagine a world where one of the software giants releases their brand new operating system and a new application architecture...
2017-06-09
1,605 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