Speaking at SQL Saturday Houston
It’s SQL Saturday season again! I found out this morning that I’ll be speaking at next month’s SQL Saturday event...
2012-03-21
611 reads
It’s SQL Saturday season again! I found out this morning that I’ll be speaking at next month’s SQL Saturday event...
2012-03-21
611 reads
I just wrapped up my 24 Hours of PASS session on consolidation. A big THANK YOU again to everyone in attendance,...
2012-03-21
918 reads
The other day I was asked to restore a production database into a development environment and then check the database...
2012-03-21
903 reads
If you’ve followed this blog series from the beginning then you may have started thinking about which tools would be...
2012-03-21
1,584 reads
Whitepaper: Demystify Tempdb Performance & Management
Demystify Tempdb Performance & Management
There are many misconceptions and myths about tempdb and purported best practices are...
2012-03-21
1,567 reads
To create a PowerView report first we need to create a BI Semantic Model Connection,
but If we did not deploy...
2012-03-21
2,888 reads
The SSIS script component can be configured to use synchronous or asynchronous outputs. If the script component is configured for...
2012-03-20
8,163 reads
Right on schedule, Microsoft has released SQL Server 2008 SP2 Cumulative Update 9. This is Build 10.00.4330.00, and it has...
2012-03-20
1,815 reads
I just wanted to plug two events that are free SQL Server training. First, Thomas LaRock (@sqlrockstar) and Jason Strate...
2012-03-20
591 reads
On occasion you may ask yourself if there are any under used indexes in your database. If not you, then possibly a manager or client. Usually this comes up...
2012-03-20
5 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