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
Broken pieces and liquid stay inside a shallow catching tray

Interview Question of the Week #023 – Error Handling with TRY…CATCH

June 7, 2015
Pinal Dave
SQL Interview Questions and Answers

Use error handling with TRY…CATCH, XACT_STATE, explicit rollback, and THROW, while recognizing errors that escape the current scope.

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
Error in SQL Server Management Studio.

SQL SERVER – Restore Error: Specified cast is not valid (SqlManagerUI)

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

Restoring a SQL Server 2008 R2 backup failed with Specified cast is not valid (SqlManagerUI). Here is what we found after a few emails and screenshots.

Read More
Previous 1 … 371 372 373 374 375 376 377 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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