Jason Brimhall


Blog Post

Short Circuit Events

The predicate order is critical. Having the wrong order can result in not trapping the desired events. I cover the critical nature of predicates in the aforementioned article. At...

2015-10-26

14 reads

Blog Post

Counting Events

This article will show how to implement an XEvent Session that employs the use of the event_counter target that is used for counting events. IN addition, you will be...

2015-10-23

14 reads

Blog Post

Counting Events

After reading through the articles about the pair_matching target (here) and the article on the histogram target (here), this one is...

2015-10-23

616 reads

Blog Post

Histograms and Events

In this article I show how to use and configure the histogram target. In addition, I explain how to get to the data trapped into this target. Lastly, I...

2015-10-22

12 reads

Blog Post

Parsing Matched Events

In this article I will be taking you into the world of the pair_matching target. The pair_matching target should connote that this target works on matching like events into...

2015-10-21

19 reads

Blog Post

Matching Events into Pairs

In this article I will be taking you into the world of the pair_matching target. The pair_matching target should connote that this target works on matching like events into...

2015-10-20

24 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