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
Three blue stones in a pale shallow bowl, an empty bowl and one separate blue stone.

Multiset Difference: Remove Only Matching Duplicate Occurrences

October 10, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Joins, SQL Scripts, SQL Server

Multiset difference removes matching occurrences while keeping any extra copies from the left input. I assign occurrence numbers before pairing rows. A value’s presence on the right should not automatically remove every left copy.

Read More
SQL SERVER - 2005 - Connection Property of SQL Server Management Studio SSMS

SQL SERVER – 2005 – Connection Property of SQL Server Management Studio SSMS

October 8, 2007
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Management Studio, SQL Utility

How to change connection properties in SSMS as you connect, like using named pipes instead of TCP/IP, as I do for one of our servers. Screenshots show each step.

Read More
A ring of plain brass keys on a doormat, one key with a vermilion painted bow standing out from the rest.

Why You Should Name Default Constraints

October 7, 2007
Pinal Dave
SQL Tips and Tricks
Schema, SQL Coding Standards, SQL Constraint and Keys, SQL Server

Name default constraints so deployments can find them reliably, and replace system-generated names through a reviewed migration.

Read More
SQL SERVER - 2005 - Different Types of Cache Objects

SQL SERVER – 2005 – Different Types of Cache Objects

October 4, 2007
Pinal Dave
SQL Tips and Tricks
SQL Cache, SQL Error Messages, SQL Server

A quick look at the different types of cache objects SQL Server 2005 keeps in the procedure cache, from a troubleshooting book I reviewed.

Read More
Gouache painting: a wooden jetty made of five floating pontoon sections lies on calm water in a row

LEN Versus DATALENGTH: Trailing Spaces and Unicode Bytes

September 30, 2007
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Server

LEN versus DATALENGTH answers different length questions. Use explicit text types to check trailing spaces, Unicode bytes, empty values and NULL.

Read More
A brass bell on a harbor pier post with its rope swinging, gulls lifting off the railing, boats moored beyond.

THROW or RAISERROR

September 26, 2007
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Stored Procedure, SQL Transactions

THROW or RAISERROR changes how SQL Server handles severity, formatting, and XACT_ABORT; choose the right pattern for new procedures.

Read More
A gouache river ledge contrasts loosely stored pebbles with a row held by an explicit wooden guide.

SQL SERVER – Order of Result Set of SELECT Statement on Clustered Indexed Table When ORDER BY is Not Used

September 24, 2007
Pinal Dave
SQL Performance
SQL Index, SQL Order By, SQL Server

A Clustered Indexed Table still needs ORDER BY to promise result order. I declare the order the reader or application requires.

Read More
Previous 1 … 399 400 401 402 403 404 405 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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