100 Things I Hate About Views: Undeclared Data Types in Columns
Views let you do dumb things by accident in SQL Server. Then they make you have to think way too hard to fix them.
Read Moreon • 2 min read
Learn what a Stack Dump is in SQL Server and watch a demo where I cause a stack dump against a test SQL Server instance under load. Learn how to find information about stack dumps on your SQL Server, and how to escalate them when required.
I joke around for a while at the beginning of the video. The technical bit starts at 7:15.
I’m not trying to say that using In-Memory OLTP is going to cause stack dumps… although now that I think about it, it doesn’t hurt to be prepared! At the beginning of this episode I mention that I’m excited to get to attend Kalen Delaney’s pre-conference session in Lisbon on Hekaton. If you’re jealous, you’d probably enjoy reading her whitepaper on In-Memory OLTP in SQL Server 2016 (pdf download). You can also get a free PDF of Kalen’s book on In-Memory OLTP (SQL Server 2014) from Redgate.
In the video, I show an example of a stack dump caused by running DBCC PAGE with format style 3 against a table with a filtered index in SQL Server 2014.
It looks like this bug is fixed in SQL Server 2016, at least by SP1.
Sample code to reproduce this against the AdventureWorks2012 database (which I had restored to SQL Server 2014) is in my gist here.
In the episode this week I show a screenshot of Microsoft business support options and prices. Here’s the link to the page where I grabbed that.
Copyright (c) 2025, Catalyze SQL, LLC; all rights reserved. Opinions expressed on this site are solely those of Kendra Little of Catalyze SQL, LLC. Content policy: Short excerpts of blog posts (3 sentences) may be republished, but longer excerpts and artwork cannot be shared without explicit permission.