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 damaged clay bowl and its separate fragment sit beside an intact empty bowl

Checking XACT_STATE Before COMMIT or ROLLBACK in a CATCH Block

February 19, 2008
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

XACT_STATE separates transaction validity from the decision to retain work. Two isolated examples show a doomed transaction and a committable one, both with deliberate errors. Clean up on the same connection and respect the caller’s transaction ownership.

Read More
A distant climber on a rocky ledge beside a red rope already anchored and coiled for the descent.

Rolling Back a Cumulative Update Safely

February 18, 2008
Pinal Dave
SQL Tips and Tricks
Cumulative Update, DBA, SQL Backup and Restore, SQL Patch, SQL Server

Rolling Back a Cumulative Update needs backups, setup evidence, a tested uninstall path, and special care for databases changed after patching.

Read More
Escaping a single quote in SQL Server: 'Villeneuve-d''Ascq' with the doubled quote in red

SQL SERVER – How to Escape Single Quotes – Fix: Error: 105 Unclosed quotation mark after the character string

February 17, 2008
Pinal Dave
SQL Interview Questions and Answers
SQL Error Messages, SQL Scripts, SQL Server, SQL String

Jr. Developer asked me other day how to escape single quote?
User can escape single quote using two single quotes (NOT double quote).

Read More
SQL SERVER - Msg: 2593 : There are ROWCOUNT rows in PAGECOUNT pages for object 'OBJECT'.

SQL SERVER – Msg: 2593 : There are ROWCOUNT rows in PAGECOUNT pages for object ‘OBJECT’.

February 16, 2008
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server DBCC

DBCC shows Msg 2593: There are ROWCOUNT rows in PAGECOUNT pages for object. It is harmless and for information only. Here is what it means.

Read More
Gouache painting: on a calm river, three rows of flat stepping stones cross from the near bank to the same vermilion post on the far bank

LOG With a Base: Make the Calculation Explicit

February 15, 2008
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts

LOG with a base makes logarithm meaning explicit. Compare base two, base ten and the natural default using typed, positive inputs.

Read More
Performance counter dialog.

SQL SERVER – Introduction to Performance Monitor – How to Use Perfmon

February 14, 2008
Pinal Dave
SQL Performance
SQL Utility

How to use Perfmon: three ways to start Performance Monitor, how to add counters, and how to log them over time so you can compare later.

Read More
SQL SERVER - Introduction to Three Important Performance Counters

SQL SERVER – Introduction to Three Important Performance Counters

February 13, 2008
Pinal Dave
SQL Performance
SQL Utility

Three basic but very important Performance Counters: % Processor Time, Avg. Disk Queue Length and Disk Read and Write Bytes/sec, and what their values mean.

Read More
Previous 1 … 778 779 780 781 782 783 784 … 849 Next
  • Books
  • Testimonials
  • Privacy Policy

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