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 chessboard mid-game on a cafe table with empty chairs, one knight off its square, two cold cups of coffee.

Who Changed This Row? Auditing Data Changes

June 10, 2015
Pinal Dave
SQL Tips and Tricks
Change Data Capture, SQL Audit, SQL Server, SQL Trigger, Temporal Table

Auditing data changes requires choosing whether you need old values, new values, actor identity, or a change feed, then testing the cost.

Read More
SQL SERVER - Know Your Backup Before Deleting Database

SQL SERVER – Know Your Backup Before Deleting Database

June 8, 2015
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore

Dropping a database in a demo is fine, but on production be careful. Here is how to know your backup before deleting database, so you can undo mistakes.

Read More
SQL Server backup and restore command window.

SQL SERVER – FIX: Msg 3102, Level 16, State 1 – RESTORE cannot process database ‘Name’ because it is in use by this session

June 6, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Msg 3102 says RESTORE cannot process the database because it is in use by this session. The fix is simple: switch to master before you restore.

Read More
SQL SERVER – FIX – Error 3702, Level 16, State 3 - Cannot Drop Database "DB_Name" Because it is Currently in Use

SQL SERVER – FIX – Error 3702, Level 16, State 3 – Cannot Drop Database “DB_Name” Because it is Currently in Use

June 5, 2015
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server

Error 3702 says you cannot drop the database because it is currently in use, and even speakers get stuck on it. Here are simple ways to get past it.

Read More
Database properties window.

SQL SERVER – Basic Statistics Maintenance – Notes from the Field #083

June 4, 2015
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Server Security, SQL Statistics

Statistics help the SQL Server engine pick an optimal plan. This Notes from the Field episode covers the basics of statistics maintenance every DBA should know.

Read More
SQL SERVER - Finding Out Identity Column Without Using Column Name

SQL SERVER – Finding Out Identity Column Without Using Column Name

June 3, 2015
Pinal Dave
SQL Tips and Tricks
SQL Identity

Did you know SELECT $identity finds the identity column without using column name? Here is how it works, and how to check if a table has one.

Read More
SQL SERVER - Errors and Limitations of Working with SPARSE Columns in SQL Server

SQL SERVER – Errors and Limitations of Working with SPARSE Columns in SQL Server

June 2, 2015
Pinal Dave
SQL Tips and Tricks
SPARSE Columns, SQL Error Messages

What is the catch with SPARSE columns? After a question at SQLBangalore UG, here are the errors and limitations of working with SPARSE columns.

Read More
Previous 1 … 232 233 234 235 236 237 238 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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