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
SQL SERVER - ERROR: FIX using Compatibility Level - Database diagram support objects cannot be installed because this database does not have a valid owner - Part 2

SQL SERVER – ERROR: FIX using Compatibility Level – Database diagram support objects cannot be installed because this database does not have a valid owner – Part 2

August 12, 2012
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Database diagram support objects cannot be installed on a database upgraded from SQL Server 2005? This time the fix was the compatibility level.

Read More
A garlic press handles one clove through its single chamber while whole garlic bulbs stay outside

Updatable Views: When INSERT and UPDATE Work Through a View

August 9, 2012
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Error Messages, SQL Table Operation, SQL View

A view is only a doorway to the table behind it. I show which writes get through, which get rejected, and why CHECK OPTION earns its place.

Read More
Five pitfalls with their results: FORCESCAN read 225 pages instead of 2, @@ERROR was 0 after a PRINT, a schema GRANT reached a later table and a DENY removed it, modify() failed with Msg 2337 and Msg 5302, and recursion stopped with Msg 530 at level 100

SQL Server Pitfalls: Five Short Lessons With the Fix for Each

August 1, 2012
Pinal Dave
SQL Tips and Tricks
Query Hint, SQL Error Messages, SQL Server Security, SQL XML

SQL Server pitfalls start with a small assumption. This page shows five of them, one for each topic: query hints, errors, permissions, XML and recursive queries. Each lesson shows the mistake first and the tested fix second. Every result comes from SQL Server 2025.

Read More
SQL SERVER - Fix : Error 3623 - An invalid floating point operation occurred

SQL SERVER – Fix : Error 3623 – An invalid floating point operation occurred

June 28, 2012
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Error 3623, an invalid floating point operation, shows up when a math function gets a bad value. I explain it with simple examples like SQRT(-5) and LOG(-9).

Read More
A red high-jump bar hanging at a slant, one end still on its peg and the other on the landing mat

XACT_ABORT: Why a Half-Done Transaction Can Survive an Error

June 26, 2012
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Stored Procedure, SQL Transactions

Use XACT_ABORT to prevent partial writes, inspect transaction state after an error, and build a TRY CATCH pattern with reliable rollback.

Read More
A row of identical lifebuoy rings hung on posts along a wooden harbor pier, the nearest one vermilion.

An Error Handling Template for Stored Procedures With THROW

June 11, 2012
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Error Messages, SQL Server, SQL Stored Procedure, SQL Transactions

Build an error handling template with XACT_ABORT, XACT_STATE, durable error logging, and THROW, then test a forced procedure failure.

Read More
SQL SERVER - Fix: Error: 10920 Cannot drop user-defined function. It is being used as a resource governor classifier

SQL SERVER – Fix: Error: 10920 Cannot drop user-defined function. It is being used as a resource governor classifier

June 5, 2012
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Error 10920 stops you from dropping a user-defined function that is still the Resource Governor classifier. Here is why, and how to clean it up.

Read More
Previous 1 … 89 90 91 92 93 94 95 … 117 Next
  • Books
  • Testimonials
  • Privacy Policy

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