Identifying a row’s physical location
While you may not need to worry about the physical location of a row very often, every so often the...
2017-03-08
525 reads
While you may not need to worry about the physical location of a row very often, every so often the...
2017-03-08
525 reads
My company has recently adopted a Cloud first attitude. Now that’s different from Microsoft’s Cloud first. Microsoft is putting new...
2017-03-08
522 reads
Another great teaching opportunity landed in my lap this week. I got an email from a coworker looking for some...
2017-03-08
457 reads
I’ve already covered how to push images to the Docker hub here but what if we only want to share...
2017-03-08
424 reads
By Steve Bolton
…………Imagine how empowering it would be to quantify what you don’t know. Even an inaccurate measure might be...
2017-03-08
565 reads
What is this?
Well if you read the name aloud "SQL Server Continuous Deployment in a box" then, if I have...
2017-03-07
482 reads
What is this? Well if you read the name aloud “SQL Server Continuous Deployment in a box” then, if I have done my work correctly choosing the title for...
2017-03-07
19 reads
What is this? Well if you read the name aloud “SQL Server Continuous Deployment in a box” then, if I...
2017-03-07
52 reads
What is this? Well if you read the name aloud “SQL Server Continuous Deployment in a box” then, if I...
2017-03-07
63 reads
This post is a reference of my examples for processing JSON data in SQL Server. For more detailed explanations of these functions, please see my post series on JSON...
2017-03-07
155 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