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 pasta roller holds fixed rollers while dough must pass through successive connected stages

INNER HASH JOIN: Why a Table Join Hint Also Fixes Join Order

August 11, 2012
Pinal Dave
SQL Performance
Execution Plan, Query Hint, SQL Joins, SQL Performance

A join hint in the FROM clause quietly fixes the join order. I show the warning, three plans side by side, and the softer query-level alternative.

Read More
A nutcracker rests beside one walnut kernel and a much larger collection of its cracked shell pieces

Checking XML Index Size Against the Table It Belongs To

August 10, 2012
Pinal Dave
SQL Tips and Tricks
SQL Data Storage, SQL DMV, SQL Index, SQL XML

An XML index can outweigh the table it serves. Here is how I measure each XML structure next to the base table, and what to test before dropping one.

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
A carpet stretcher pulls ripples flat while the carpet remains uncut and keeps its existing edges

ALTER TABLE REBUILD: Fixing a Heap Without a Clustered Index

August 8, 2012
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Heap, SQL Index, SQL Table Operation

A heap with widening rows collects forwarded records. Here is how to measure them, fix them and know when the fix will not last.

Read More
A riveting tool aligns a new rivet with existing holes that preserve the old fastening positions

Explicit Identity Values: Loading Rows With Their Old Keys

August 7, 2012
Pinal Dave
SQL Tips and Tricks
Primary Key, SQL Identity, SQL Migration, SQL Table Operation

Moving rows and keeping their old keys? Here is the safe order of steps, and the counter check that saves you from a collision.

Read More
A bicycle wheel leans on a wall with one bent spoke, while loose spokes and a spoke key lie on the floor

Comparing Session SET Options Between SSMS and the Application

August 6, 2012
Pinal Dave
SQL Performance
SQL Cache, SQL Connection, SQL DateTime, SQL Server Management Studio

Fast in SSMS, slow in the app? The query may be fine and the connection settings different. Here is how to check, with nothing to set up.

Read More
Previous 1 … 525 526 527 528 529 530 531 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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