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
An open kitchen drawer with wooden compartments, one overflowing with tangled string while others hold cutlery.

Reading Memory Clerks to See Where Memory Goes

February 9, 2008
Pinal Dave
SQL Performance
SQL Cache, SQL DMV, SQL Memory, SQL Server

Memory clerks show how SQL Server allocates memory among engine components; learn to read the DMV, spot unusual growth, and investigate safely.

Read More
Gouache painting: a garden bench seen from the front has five slat positions

CHAR: Invalid Character Codes Return NULL

February 7, 2008
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Server

CHAR constructs a character instead of printing an integer. Preserve byte-code inputs and distinguish an ordinary space from missing output.

Read More
A red telephone and a green can with speech bubbles referencing iPHONE and YOU TUBE.

SQLAuthority News – SQL Joke, SQL Humor, SQL Laugh – Funny Microsoft Quotes

February 5, 2008
Pinal Dave
SQLAuthority News
Database, DBA, SQL Humor, SQL Server

I have received many emails that I should write more post like SQLAuthority News – SQL Joke, SQL Humor, SQL Laugh – Funny Quotes.

Read More
Previous 1 … 390 391 392 393 394 395 396 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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