2013-05-07
2,322 reads
2013-05-07
2,322 reads
2013-05-02
2,053 reads
2013-04-03 (first published: 2013-03-08)
1,745 reads
2013-04-01 (first published: 2013-03-08)
1,840 reads
2013-03-29 (first published: 2013-03-08)
1,479 reads
2013-03-28
2,358 reads
2013-02-18 (first published: 2013-01-25)
2,806 reads
2012-08-10 (first published: 2012-07-31)
1,815 reads
2011-11-18 (first published: 2008-01-29)
2,953 reads
Copy Multiple objects from One Schema to Another Schema
2011-09-30 (first published: 2011-09-07)
1,586 reads
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...
By ReviewMyDB
Part 1 of my What's New in SQL Server for the Developer series. IIF,...
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...
Comments posted to this topic are about the item Data Lost in the Cloud
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