DevOps Basics – Connecting to a Git Remote
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2017-05-18
646 reads
Another post for me that is simple and hopefully serves as an example for people trying to get blogging as...
2017-05-18
646 reads
I just installed the Power BI report server following @SQLDusty YouTube 13 minute Step-by-Step video. You have to download both...
2017-05-30 (first published: 2017-05-18)
2,330 reads
database snapshot could not be created and the database or table could not be locked
2017-05-18
813 reads
Hopefully you know the relevance and importance of setting a correct value for max memory on your SQL Server. By...
2017-05-18
435 reads
DBCC CheckDB failed with error “database snapshot could not be created and the database or table could not be locked”
Error:...
2017-05-18
3,927 reads
I thought maybe it would be a good idea to start a multi-part series on Today I Learned (TIL) about...
2017-05-17
535 reads
As of CTP 2.1 for SQL Server 2017 a set of new environment variables are available. These variables allow us...
2017-05-17
3,471 reads
Work from home is, astoundingly, still not the norm in United States IT offices. This is ludicrous, because employees want...
2017-05-17
449 reads
When we want to retrieve information from a database, we query the structure with language appropriate to the database. Remember...
2017-05-17
119 reads
In a prior post, I shared a script that will take a running trace and show you the XE events...
2017-05-17
589 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