DBA Myths: You can’t use an alias in an UPDATE statement.
I’ve found a very common belief among users of T-SQL (both DBAs and Developers) is that you can’t use an...
2013-09-16
904 reads
I’ve found a very common belief among users of T-SQL (both DBAs and Developers) is that you can’t use an...
2013-09-16
904 reads
Our seventh annual SQLSaturday here in Orlando went well. To the casual observer it might appear to happen without effort,...
2013-09-16
674 reads
You can loop through excel files using SSIS. This will use the For Each Loop container and a data flow...
2013-09-16
2,008 reads
Over the last weeks it was a little bit silent on my Weblog for a very good reason: I’m very...
2013-09-16
837 reads
Want a free pass to the SQL Server Live! conference in Orlando this year? Look no further, here is your...
2013-09-16
664 reads
SQLSaturday #250 Pittsburgh is in the books, and I'd like to sincerely thank the organizers, sponsors, volunteers, and speakers for...
2013-09-16
499 reads
Now MS has decided to cancel all its advanced certifications. I am here to share some of my thoughts on...
2013-09-16
398 reads
Now MS has decided to cancel all its advanced certifications. I am here to share some of my thoughts on...
2013-09-16
754 reads
Reblogged from SQL Studies: Since Microsoft decided to drop the MCM/MCA program there has been an enormous amount of discussion...
2013-09-16
630 reads
Reblogged from SQL Server Portal: I came across this query many times and most often we need the previous row...
2013-09-16
704 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