A Shot of SQLEspresso

SQL Blogs by Monica Morehouse (Rathbun)

  • Home
  • Session Downloads
  • Event Calendar
  • PASS
    • Hampton Roads SQL User Group
    • SQL Saturday
    • PASS WIT VC
  • DCAC
  • Contact Me
    • Disclaimer
  • Home
  • Session Downloads
  • Event Calendar
  • PASS
    • Hampton Roads SQL User Group
    • SQL Saturday
    • PASS WIT VC
  • DCAC
  • Contact Me
    • Disclaimer

No Widgets found in the Sidebar Alt!

  • Back to Basics,  Encryption

    How to get started with Always Encrypted for Beginners Part 1

    November 29, 2017 /

    Encryption has always been intriguing to me but seemed like it could be a very complex process to set up. However, SQL Server has made it very simple when they introduced Always Encrypted (AE) into SQL Server 2016 and Azure SQL Database. Unlike Transparent Data Encryption (TDE) which only encrypts data files and backups at rest, AE is configured on a column level and not database level. Additionally, Always Encrypted is available in Standard (and Express) Edition, starting with SQL Server 2016 SP1.  You can easily encrypt a social security number (SSN) which is considered very sensitive within the United States or Salary column in a table with just a…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Replication Max Text Length

    June 20, 2018

    Synchronous VS Asynchronous Statistics Updates

    October 25, 2017

    The Mystery of SQL Server 2025’s New Tricks – Scooby Dooing Episode 5

    September 17, 2025
  • Back to Basics

    Thankful DBA

    November 22, 2017 /

    This week is Thanksgiving in the United States, so I thought it fitting to write a quick blog on what I am thankful for as a DBA. These are in no particular order and feel free to respond with something you are thankful for. I’d love to hear it. Glenn Berry’s Diagnostic Scripts- (B|T) Used these for years. Really a great set of scripts and explanations that we all should be grateful for. Ola Hallengren’s (B) Maintenance scripts. Index Optimization, Backup, and Integrity Checks for all! They have become an industry standard and continue to get better and better. RCSI (Read Committed Snapshot Isolation) –My Readers can stop blocking Writers! Thanks…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    The New Public Speaking

    April 29, 2020

    SQL Server Updates Tricked Me for Years

    February 21, 2018

    Back up Encryption for SQL Server

    September 5, 2018
  • Back to Basics

    Do Not Pass GO!

    November 15, 2017 /

    What is the GO statement and why is it so important to use? When do I have to use it? When do I not use it? These are questions that have passed through my head from time to time while writing T-SQL within SQL Server. First What Is It and When Should I Use It?   The GO statement lets SSMS (the interface) know when it’s the end of the batch. It basically defines the scope of what you are trying to send to the Database Engine. The below example sends two separate statements. The first statement changes the database context to run the next statement under, followed by the execution of…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Why DBAs Still Need to Know the Foundations of SQL Server

    August 19, 2025

    Being a Woman in the SQL Community

    February 26, 2020

    SQL Server Updates Tricked Me for Years

    February 21, 2018
  • Back to Basics

    What Are These Backup Settings All About?

    November 8, 2017 /

    I ran across a client the other day that had these Backup and Recovery options set like the picture below because it is defaulted this way. The Database Administrator didn’t know what they should configure them as so he left them alone. I find this is the case with a lot of options. For the most part leaving the defaults can be just fine, but other leaving others cause leave you missing out on some good features. Let’s start from top to bottom. Default backup media retention in days. Now the first things that comes to my mind is that “hey this is a cleanup job” SCORE! Thinking that maybe…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    T-SQL Tuesday #84 – Helping New Speakers

    November 8, 2016

    Being a Woman in the SQL Community

    February 26, 2020

    What SQL Server Performance & Management Tools Do I Use?

    September 4, 2019
  • Back to Basics,  Posts with Scripts,  Quick and Dirty

    Quick Model Database Tidbit

    October 30, 2017 /

    Are you using your Model Database to its full potential? I am finding more and more that Database Admins are not using the Model database to its fullest potential and some not at all. What is that Model Database for? The model database is basically the default setup (template) for all other databases created on a SQL Server instance. All databases created after install will inherit the properties of this database. Why Configure It? Using the model can insure consistency within your environment and is a quick way to automate your database setups. Below is a list of things I’ve used in my environments and others. Top (in no particular…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    DMV’s for the Beginner

    May 15, 2019

    System-Versioned Temporal Tables

    August 30, 2017

    Expanding My Reach

    February 7, 2018
  • Back to Basics,  Quick and Dirty

    Does Your Code Have a Preamble?

    October 18, 2017 /

    Okay, here is a pet peeve of mine, I think every stored procedure, function, view etc. should all contain a block of code I refer to as a preamble. If yours doesn’t I strongly recommend you start adding it. It drives me crazy when I see code with no documentation of any kind telling me what it is for and when it was written or changed. Why? A preamble documents the use, need, and changes for the code. It also leaves bread crumbs as to how why and what you did. I don’t know about you but I may code something and not have to change it for two years.…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Importance of Statistics in SQL Server

    May 30, 2018

    Admit You Can’t Do Everything

    September 28, 2015

    Keep It Simple Stupid

    July 24, 2019
  • SQL Family,  SQLSaturday,  Summit

    Why I Go to Summit Each Year?

    October 11, 2017 /

    This year will be my 6th PASS Summit that I will have attended. Some people have asked me why I still go, and what I get out of Summit that I don’t get from attending and speaking at SQL Saturdays. That’s an easy one for me to answer, but a long answer at that. Networking First and foremost, it’s for the networking. Getting to meetup with so many other like minded people is gratifying. This networking allows you to exchange ideas, war stories, and downright geek out with others that know what you are talking about and don’t have their eyes glaze over when discussing optimizer internals. On top of…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Admit You Can’t Do Everything

    September 28, 2015

    Caution When Dropping Unused Indexes on an Azure SQL Database

    August 12, 2020

    Initial SQL Server Configurations

    October 19, 2015
  • Back to Basics

    SQL Sequence vs Identity Column

    October 4, 2017 /

    Let’s take a look at what a Sequence is in relation to an Identity Column in SQL Server. Did you know Sequence even existed? I didn’t until I was asked about them. It’s amazing how much you can skip over and never notice in SSMS. See this little folder, ever notice it under Programmability in Management Studio. Yep it’s there, SQL Server has this very handy thing called Sequences. Sequences are a relatively new feature that have only existed since SQL Server 2012, but have long existed in Oracle (where there a no identity columns). What is a Sequence? Per MSDN, A sequence is a user-defined schema bound object that generates…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Solving SQL Server Mysteries with a Whole Gang of Sleuths -Scooby Dooing Episode 4

    September 10, 2025

    Install ALL Things SQL Server… What?

    November 26, 2019

    Understanding Columnstore Indexes in SQL Server Part 3

    July 17, 2019
  • Back to Basics

    Just Check ALL the Boxes – SQL Server Installs

    September 27, 2017 /

    Today I ran into something on a client server I unfortunately see too often.  The DBA goes through the trouble of configuring and setting up alerts\operators but doesn’t really understand what the options in the configurations mean. So unfortunately, that means they take the CYA (cover your ass) approach and they check all of them. Now, not only have I seen this with alerts but also with things like security configurations as well. My advice is to always in to take a second and research what each option is before you check the little boxes, especially when it comes to security. Always follow the rule of less is more. In…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    So How Did It Go?

    September 28, 2015

    Summit Submission Feedback Response

    June 28, 2016

    It’s All in the Name, Index Naming Conventions

    January 10, 2018
  • Performance Tuning,  Quick and Dirty

    Hmmm… What’s This? Date Correlation Optimization in SQL Server

    September 20, 2017 /

    OK So, I am doing some digging and peaking around again in SQL Server and came across a database option called Date Correlation Optimization Enabled = False. Honestly, I had no clue what it did, so I took it as a learning opportunity to look into it and do a little research. Who knows, it may actual help me solve one of the many problems I run into day to day for clients. Syntax ALTER DATABASE DEMO    SET DATE_CORRELATION_OPTIMIZATION ON; So, What Does It Do? According to MSDN – The DATE_CORRELATION_OPTIMIZATION database SET option improves the performance of queries that perform an equi-join between two tables whose date or datetime columns are correlated,…

    Read More
    Monica Morehouse (Rathbun)

    Related Posts

    Ruh-Roh! SQL Server 2025 Finally Brings Us a Free Standard Developer Edition – Scooby Dooing Episode 2

    August 28, 2025

    Template Explorer Gold Mine in SQL Server Management Studio

    March 27, 2018

    Synchronous VS Asynchronous Statistics Updates

    October 25, 2017
678910

About Me

Monica Morehouse (Rathbun)

Microsoft MVP, Performancing Tuning Expert, Leader Hampton Roads SQL Server User Group, Read More…

Consulting

Sessions List

Favorite Tidbits

  • Reminder to Developers

Topic Categories

  • Azure
  • Back to Basics
  • Configurations
  • Data Masking
  • DevOps
  • Encryption
  • Idera Ace
  • Important Links
  • Indexes
  • Lone DBA
  • Misc
  • MVP
  • New SQL Version
  • Performance Tuning
  • Posts with Scripts
  • Problems & Solutions
  • Quick and Dirty
  • Security
  • Speaking
  • SQL Family
  • SQLSaturday
  • SSRS
  • Summit
  • Training
  • TSQL Tuesday
  • Uncategorized

Top Posts & Pages

  • Resizing Tempdb (When TEMPDB Wont Shrink)
    Resizing Tempdb (When TEMPDB Wont Shrink)
  • What’s a Key Lookup?
    What’s a Key Lookup?
  • How to get started with Always Encrypted for Beginners Part 1
    How to get started with Always Encrypted for Beginners Part 1
  • DMV’s for the Beginner
    DMV’s for the Beginner
  • Please Don’t Do This! Default Index Fill Factor
    Please Don’t Do This! Default Index Fill Factor
  • Understanding Columnstore Indexes in SQL Server Part 1
    Understanding Columnstore Indexes in SQL Server Part 1
  • Memory Optimized Tables in SQL Server
    Memory Optimized Tables in SQL Server
  • TIL: Microsoft Azure Part 1
    TIL: Microsoft Azure Part 1
  • Scooby Dooing Episode 10: The Case of the Copy-and-Paste Consultant
    Scooby Dooing Episode 10: The Case of the Copy-and-Paste Consultant
  • SQL Index Creation Using DROP EXISTING= ON
    SQL Index Creation Using DROP EXISTING= ON
Graceful Pro Theme by Optima Themes - 2026 ©
 

Loading Comments...