Creating an Azure SQL Database via PowerShell
This post is about using the brilliance of PowerShell to script the creation of databases in Azure.
Background:
Apart from the obvious question...
2017-05-11 (first published: 2017-04-30)
1,379 reads
This post is about using the brilliance of PowerShell to script the creation of databases in Azure.
Background:
Apart from the obvious question...
2017-05-11 (first published: 2017-04-30)
1,379 reads
In this post I’m describing a piece of code that is not well written. The author (unknown) had applied three functions for a variable to ensure it never accepts...
2017-04-29
21 reads
In this post I’m describing a piece of code that is not well written. The author (unknown) had applied three functions for a variable to ensure it never accepts...
2017-04-29
47 reads
In this post I’m describing a piece of code that is not well written. The author (unknown) had applied three...
2017-05-10 (first published: 2017-04-29)
2,416 reads
Today was my presentation in the April GroupBy conference lineup. I presented on DevOps and changing your database development to...
2017-05-19 (first published: 2017-04-28)
1,690 reads
I had a brief conversation with Stuart Ainsworth yesterday over Facebook. In passing I mentioned that I was doing well...
2017-04-28
643 reads
VS Live takes place in Austin on May 15-18, 2017. This is a great conference in a fun city. It’s...
2017-04-28
846 reads
Nearly May! Although it’s been snowing this week in Dublin so summer still appears to be a while off…
Community driven...
2017-04-28
531 reads
Nearly May! Although it’s been snowing this week in Dublin so summer still appears to be a while off…
Community driven...
2017-04-28
592 reads
I have been quite interested by vs code and have been using it more and more recently. I use it...
2017-05-09 (first published: 2017-04-27)
3,469 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...
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