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
SQL SERVER - Introduction to Policy Management

SQL SERVER – Introduction to Policy Management

April 8, 2015
Pinal Dave
SQL Tips and Tricks
Policy Management

Policy Management, added in SQL Server 2008, is an underappreciated feature. Here is an introduction to its building blocks and how the pieces fit.

Read More
SQL Server Execution Plan.

SQL SERVER – What is Filtered Statistics?

April 7, 2015
Pinal Dave
SQL Tips and Tricks
SQL Statistics

Filtered statistics, added in SQL Server 2008, help the optimizer estimate rows when data is correlated. Here is a small demo with Employee and Sales tables.

Read More
SQL SERVER - Transaction Log Backup Failing After Rebuilding Database Log File

SQL SERVER – Transaction Log Backup Failing After Rebuilding Database Log File

April 6, 2015
Pinal Dave
SQL Tips and Tricks
SQL Scripts

A DBA at a Delhi conference asked why the transaction log backup kept failing after rebuilding the database log file. Here is why it happens.

Read More
One intact ceramic tile from each matching pair is kept in a tray while its worn duplicate is set aside

Interview Question of the Week #014 – How to DELETE Duplicate Rows

April 5, 2015
Pinal Dave
SQL Interview Questions and Answers

Delete duplicate rows with a ROW_NUMBER CTE, preview the duplicate groups, choose a survivor, and prevent recurrence with uniqueness.

Read More
SQL SERVER - An Observation SET vs SELECT in T-SQL

SQL SERVER – An Observation SET vs SELECT in T-SQL

April 4, 2015
Pinal Dave
SQL Tips and Tricks

SET vs SELECT: both can assign a value to a variable, but they behave differently when a query returns many rows. Here is a simple example.

Read More
Server startup types tool window.

SQL SERVER – Log Shipping – Sharing Tab Missing in Folder Properties

April 3, 2015
Pinal Dave
SQL Tips and Tricks
Log Shipping

Setting up Log Shipping and found the Sharing tab missing in folder properties? A reader hit this, and here is how to get the Sharing tab back.

Read More
A whiteboard with three blank sticky notes in a row and a marker resting on the ledge.

SQL SERVER – 3 Common Mistakes of Agile Development – Notes from the Field #074

April 2, 2015
Pinal Dave
SQL Tips and Tricks
Best Practices, Notes from the Field, SQL Server Security

Agile builds software in small, time boxed steps. In Notes from the Field #074, Stuart Ainsworth shares stories about 3 common mistakes of Agile Development.

Read More
Gouache painting: an empty wooden picture frame hanging on a plain wall with a faded sepia landscape painting already inside it, and one vermilion bookmark ribbon draped over the top edge

SQL SERVER – Quiz on knowing DATEPART and DATENAME Behaviors

April 1, 2015
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts

DATEPART and DATENAME accept a string that holds only a time and fill in the missing date as January 1, 1900. This post keeps the quiz, runs every query on SQL Server 2025 and explains which of the five bonus queries work and why.

Read More
Wmic service command prompt window.

SQL SERVER – Script to find SQL Startup Account using WMIC

March 31, 2015
Pinal Dave
SQL Tips and Tricks

A friend’s passing remark led me to a new way to find the SQL Server startup account using WMIC, the WMI command line tool. Here is the script.

Read More
SQL SERVER - Using MaxTransferSize parameter with SQL Server Backups

SQL SERVER – Using MaxTransferSize parameter with SQL Server Backups

March 30, 2015
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts, SQL Server

A DBA asked whether backups on new EMC storage should use a 256 KB transfer size. Here is what I learned about the MaxTransferSize parameter.

Read More
Previous 1 … 267 268 269 270 271 272 273 … 593 Next
  • Books
  • Testimonials
  • Privacy Policy

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