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 crate of blue ceramic bowls, a separate sample bowl and a clay inspection token.

Return Codes: Keep Procedure Status Separate From Data

August 30, 2010
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Stored Procedure

Return codes carry procedure status separately from application values. This private demonstration compares result sets, captured output and omitted OUTPUT. It also separates an optional no-work request from a genuine raised error.

Read More
SQL SERVER – FIX: ERROR: 8170 Insufficient result space to convert uniqueidentifier value to char

SQL SERVER – FIX: ERROR: 8170 Insufficient result space to convert uniqueidentifier value to char

July 26, 2010
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server

Error 8170 says there is insufficient result space to convert a uniqueidentifier value to char. The simple fix is to give the VARCHAR its full 36 characters.

Read More
A wooden mannequin hunts under sofa cushions while a small mannequin outside holds up the red car keys

SQL Error Riddles: Parent Keys Not Found and Other Classics

May 29, 2010
Pinal Dave
SQL Tips and Tricks
Primary Key, SQL Constraint and Keys, SQL Error Messages, SQL Humor

SQL error riddles have been passed around for years. Here are the classics, told kindly, with the real SQL Server error behind each punchline.

Read More
Title card: Error 4214: BACKUP LOG Needs a Full Backup First

SQL SERVER – FIX : ERROR : 4214 BACKUP LOG cannot be performed because there is no current database backup

March 27, 2010
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Scripts, SQL Server, Transaction Log

Error 4214: BACKUP LOG cannot be performed because there is no current database backup. Take one full backup first, and the log backup will work.

Read More
Distributed Transaction Coordinator.

SQL SERVER – Fix : Error : 8501 MSDTC on server is unavailable. Changed database context to publisherdatabase

March 24, 2010
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Replication, SQL Scripts

Error 8501 says MSDTC on server is unavailable, often while configuring replication. Start the Distributed Transaction Coordinator service to fix it.

Read More
SQL Server backups and restores.

SQL SERVER – Fix : Error : 3117 : The log or differential backup cannot be restored because no files are ready to rollforward

March 21, 2010
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Scripts

A reader restored a full backup, then hit Error 3117: the log or differential backup cannot be restored. Here is why it happens and what to do.

Read More
SQL Server system log window.

SQL SERVER – Mirroring Configured Without Domain – The server network address TCP://SQLServerName:5023 can not be reached or does not exist

March 18, 2010
Pinal Dave
SQL Tips and Tricks
Microsoft Certifications, SQL Error Messages, SQL Mirroring, SQL Scripts

My friend kept getting the server network address cannot be reached error while testing mirroring configured without domain on his laptop. Here is why.

Read More
Previous 1 … 93 94 95 96 97 98 99 … 114 Next
  • Books
  • Testimonials
  • Privacy Policy

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