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 gouache joinery bench contrasts incompatible grooved pieces with a smoothly matched pair, beside a red checking peg.

SQL SERVER – Cannot Resolve Collation Conflict For Equal to Operation

June 11, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Collation, SQL Error Messages, SQL Joins, SQL Scripts, SQL Server

A collation conflict means character expressions use incompatible comparison rules. I choose the intended rules before applying COLLATE.

Read More
SQL SERVER - 2005 T-SQL Paging Query Technique Comparison (OVER and ROW_NUMBER()) - CTE vs. Derived Table

SQL SERVER – 2005 T-SQL Paging Query Technique Comparison (OVER and ROW_NUMBER()) – CTE vs. Derived Table

June 11, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Joins, SQL Paging, SQL Scripts, SQL Server

Paging in SQL Server 2005 with ROW_NUMBER: CTE vs. derived table. I compare both methods and show they give the same performance for common queries.

Read More
Gouache illustration for the date part example: a fern and its simplified outline beside a wooden press.

SQL SERVER – Retrieve – Select Only Date Part From DateTime – Best Practice

June 10, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL DateTime, SQL Function, SQL Scripts, SQL Server

Selecting the date part and formatting it are different tasks. I keep typed dates for calculations and text for display.

Read More
Torn continuous printer paper spilling off a bench under a red desk lamp

SQL SERVER – Fix : Error : Msg 9514 Xml data type is not supported in distributed queries. Remote object ‘OPENROWSET’ has xml column(s)

June 9, 2007
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server, SQL XML

Msg 9514 means a distributed query touched an XML column. Why the type cannot cross a linked server, and four ways to get the data across anyway.

Read More
Five small carts each carrying one crate, beside one cart carrying all five together.

SQL SERVER – Insert Multiple Records Using One Insert Statement – Use of UNION ALL

June 8, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server, SQL Union clause

Insert multiple records with one INSERT statement by combining SELECT and UNION ALL, instead of a separate INSERT for every row. SQL Server 2008 has a newer way.

Read More
A walker seen from behind at a mountain trail fork, three paths marked by stacked stone cairns

How to Read a T-SQL Syntax Diagram

June 7, 2007
Pinal Dave
SQL Tips and Tricks
Developer, SQL Documentation, SQL Index, SQL Server

Read a T-SQL syntax diagram without guessing: brackets mean optional, braces mean required choices, pipes separate options, and dots repeat items.

Read More
A hand holds a brass key up to the light beside two nearly identical keys on a wooden workbench.

How to Read a SQL Server Build Number

June 7, 2007
Pinal Dave
SQL Tips and Tricks
Cumulative Update, DBA, SQL Patch, SQL Server

Learn how a SQL Server build number identifies the engine release, maps to a cumulative update, and explains differences between two instances.

Read More
Previous 1 … 425 426 427 428 429 430 431 … 438 Next
  • Books
  • Testimonials
  • Privacy Policy

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