This month's discount Comprehensive Database Performance Health Check · Testimonials
SQLAuthority with Pinal Dave
Home
  • Consulting
    • Health Check
  • Free Videos
  • All Articles
    • AI
    • SQL Performance
    • SQL Tips and Tricks
    • Interview Questions and Answers
    • SQL Puzzle
    • SQL Video
    • SQLAuthority News
    • Personal
  • Books
  • Consulting
A gloved hand at a cave mouth tying a red thread to a boulder and testing it before going in

Every Deployment Script Needs a Tested Undo Script

August 11, 2014
Pinal Dave
SQL Tips and Tricks
Best Practices, DevOps, SQL Scripts, SQL Server

Write and test an undo script before deployment, preserve old module text and changed rows, and identify changes that require recovery.

Read More
A swallow returning to last year's mud nest under the eaves of an old stone barn.

First and Repeat Purchases: Tagging Customer Orders With ROW_NUMBER

August 10, 2014
Pinal Dave
SQL Tips and Tricks
Ranking Functions, SQL Function, SQL Scripts, SQL Server

Tag repeat purchases with deterministic order numbering, calculate days to the second order, and compare customer cohorts fairly.

Read More
Gouache painting of a red basket of fresh bread on a bakery counter with flour sacks far away in the storeroom

In-Memory OLTP in SQL Server: Memory-Optimized Tables Explained

August 8, 2014
Pinal Dave
SQL Performance
In-Memory OLTP, SQL Index, SQL Scripts, SQL Server

In-Memory OLTP stores selected tables in memory and uses row versions instead of locks. This post builds a small demo database, compares a disk table with two memory-optimized tables, and tests a natively compiled procedure. It also covers durability, bucket counts and memory use.

Read More
SQL SERVER - SSMS: Top Object and Batch Execution Statistics Reports

SQL SERVER – SSMS: Top Object and Batch Execution Statistics Reports

July 30, 2014
Pinal Dave
SQL Tips and Tricks
SQL Reports, SQL Scripts, SQL Server, SQL Server Management Studio

Just like sports stats, SSMS has head-to-head numbers for your server. Here is a tour of the Top Object and Batch Execution Statistics Reports.

Read More
SQL SERVER - SSMS: Transaction Log Shipping Status Report

SQL SERVER – SSMS: Transaction Log Shipping Status Report

July 25, 2014
Pinal Dave
SQL Tips and Tricks
Log Shipping, SQL Reports, SQL Scripts, SQL Server, SQL Server Management Studio

Like timber floating downstream, log shipping moves logs from one server to another. Here is how to read the Transaction Log Shipping Status report in SSMS.

Read More
SQL SERVER - Activity Reports - Dormant Sessions

SQL SERVER – Activity Reports – Dormant Sessions

July 21, 2014
Pinal Dave
SQL Tips and Tricks
SQL Reports, SQL Scripts, SQL Server, SQL Server Management Studio

A parent-teacher meeting tells me more than a report card. In the same way, the SSMS activity report on Dormant Sessions shows idle connections on your server.

Read More
A hand pressing a red-handled dibber board into soil, leaving a neat grid of planting holes

SSMS Code Snippets: Writing Your Own Templates

July 18, 2014
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Management Studio, SQL Shortcut

Build SSMS code snippets with editable literals, register your own snippet folder, and use Template Explorer for repeatable SQL scripts.

Read More
Previous 1 … 174 175 176 177 178 179 180 … 366 Next
  • Books
  • Testimonials
  • Privacy Policy

© 2006 – 2026 All rights reserved. pinal @ SQLAuthority.com