Blog Post

2010 Recap

As a part of a recap on the year that was 2010, I should start with a recap of my goals.  For that review I had to go back...

2010-12-28

16 reads

Blog Post

SSIS Multiple File Export

Have you ever needed to export different data sets to different flat files?  Each of these data sets could be customer information for different clients – but they all...

2010-12-28

68 reads

Blog Post

Wrapping Up 2010

Goal Setting
It’s time to wrap up the year.  I don’t have a resolutions or goals post from last year to...

2010-12-28

911 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