Looking Back: 2016 was Awesome!
With 2017 starting this week I would like to take a moment and reflect on 2016. I have to admit...
2017-01-05
439 reads
With 2017 starting this week I would like to take a moment and reflect on 2016. I have to admit...
2017-01-05
439 reads
I’ve been studying Azure recently and came across a really interesting Azure site.
resources.azure.com
To give you an idea why I find...
2017-01-13 (first published: 2017-01-05)
1,469 reads
Sometimes when in a testing mode I do like to clear cache within my SQL database (Azure). Nowadays a lot...
2017-01-05
719 reads
Reading this blog post by Shawn Melton Introduction of Visual Studio Code for DBAs reminded me that whilst I use...
2017-01-10 (first published: 2017-01-05)
6,134 reads
The year gone was an interesting year for gethynellis.com and GRE Solutions. Any year that has a new release of...
2017-01-05
567 reads
In this blog I will tell you how we can attach a data disk to an Azure Virtual Machine using...
2017-01-05
572 reads
As per BOL (https://msdn.microsoft.com/en-us/library/ff878058(v=sql.110).aspx) : A sequence is a user-defined schema-bound object that generates a sequence of numeric values according to...
2017-01-05
504 reads
Heraflux is proud to announce that I am teaching a preconference training session at this year’s upcoming SQL Saturday in Chicago....
2017-01-04
370 reads
In a perfect world a data warehouse would always return all queries very quickly, no matter what the size or...
2017-01-04
295 reads
One of the things that I often do is create stored procedures. The syntax for doing so is simple, but...
2017-01-04
519 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,...
Equity Tower, Ground Floor, Unit D & Lantai 8, Unit E, Jl. Jenderal Sudirman...
Talavera Office Park, Jl. TB Simatupang No.Kav. 26, RT.1/RW.1, Cilandak Bar., Kec. Cilandak, Kota...
Comments posted to this topic are about the item Switching Schema II
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