Jason Brimhall


Blog Post

Database Dropped

What do you do when a developer comes to you and asks, "Where did the database go? The database was there one minute, and the next it was...

2016-09-09

18 reads

Blog Post

Events By Feature

Within the world of SQL Server there are a few things one can be certain of - things will change. This is true of the features in SQL Server....

2016-08-30

18 reads

Blog Post

Finding the Right Path

What is this gaping hole in the coverage of Extended Events? To be honest, it is not a very complicated topic or very difficult gap to fill. It's just...

2016-08-24

18 reads

Blog Post

T-SQL Tuesday #081: Recap

August 2016 TSQL Tuesday Recap
Related Posts:

T-SQL Tuesday 109: Influence Somebody Invite December 4, 2018

Passion, Challenges, and SQL February 12, 2019

T-SQL Tuesday #102: Giving Back May 8, 2018...

2016-08-18

11 reads

Blog Post

T-SQL Tuesday #081: Getting Sharper

Getting sharper at JSON through a little experimentation.
Related Posts:

Passion, Challenges, and SQL February 12, 2019

T-SQL Tuesday #097: Learning Plans December 18, 2017

T-SQL Tuesday 109: Influence Somebody Invite...

2016-08-16

18 reads

Blogs

Memories of PASS Data Community Summit 2026

By

A bit of a photo dump, but a few fun memories for me from...

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...

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