James Serra's Blog

Blog Post

Power BI Security

A common topic I have been discussing recently with customers is the security around Power BI. Basically, how to prevent users seeing data they shouldn’t. So I’ll discuss the...

2020-03-19 (first published: )

653 reads

Blog Post

SQL Database MI benefits

As I see a huge number of customers migrating their on-prem databases to the Azure cloud, the main question they ask is about whether they should go with an...

2020-03-10 (first published: )

911 reads

Blog Post

Power BI Real-time Streaming

With Power BI real-time streaming, you can stream data and update dashboards in real-time. Any visual or dashboard that can be created in Power BI can also be created...

2020-02-19 (first published: )

3,037 reads

Blog Post

Azure Storage tips

As a followup to my blog post Azure Data Lake Store Gen2 is GA, I wanted to give some pointers when using ADLS Gen2 as well as blob storage,...

2020-01-24 (first published: )

455 reads

Blog Post

DevOps for databases: “DataOps”

DevOps, a set of practices that combines software development (Dev) and information-technology operations (Ops), has become a very popular way to shorten the systems development life cycle and provide continuous delivery of...

2020-01-16 (first published: )

1,203 reads

Blog Post

My latest presentations

Just wanted to make everyone aware of my latest presentations that I recently uploaded. Details below. I also have a list of all my presentations with slide decks here.   Azure...

2019-12-04

60 reads

Blog Post

Microsoft Ignite Announcements

Microsoft Ignite has always announced many new products and new product features, and this year was no exception. Many exciting announcements, and below I list the major data platform...

2019-11-13 (first published: )

734 reads

Blogs

What's New in SQL Server for the Developer: SQL Server 2016

By

Part 2 of my What's New in SQL Server for the Developer series. STRING_SPLIT,...

The DBA Moves Up the Stack: From SQL Server on a VM to Azure SQL and Managed Instance

By

Note: This is more of a note to myself than an attempt to preach...

AI Center of Excellence: How to build one in 90 days

By

A practical guide to building an AI Center of Excellence, from choosing the right...

Read the latest Blogs

Forums

Black Friday Gadgets

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Black Friday Gadgets

Protecting Multi-Step Data Changes with TRY...CATCH and XACT_ABORT in SQL Server

By Imran2629

Comments posted to this topic are about the item Protecting Multi-Step Data Changes with...

Switching Schema III

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Switching Schema III

Visit the forum

Question of the Day

Switching Schema III

I run these queries:

SELECT COUNT(*) FROM dbo.Beer
SELECT COUNT(*) FROM etl.beer
I get 25 as the result for dbo.beer and 1 for the result for etl.beer. Both tables have identical sructures and both of these are nonpartitioned tables. I run this code:
ALTER TABLE dbo.beer switch TO etl.beer
go
SELECT COUNT(*) FROM dbo.Beer
SELECT COUNT(*) FROM etl.beer
What happens?

See possible answers