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
Gouache painting: on a market stall board a short branch of tomato vine has just been cut by a small knife, keeping its green stem, two leaves and a cluster of ripe red tomatoes still attached

XML query: Keep the Selected Markup Intact

July 1, 2010
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts

XML query retains selected markup and attributes. Distinguish an empty fragment from a missing document, and review the display type.

Read More
Gouache painting: four pairs of cherries hang joined at the stem on a wooden rail

SUBSTRING Binary: Count Bytes Rather Than Characters

June 30, 2010
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Server

SUBSTRING binary offsets use byte units. Keep text slicing separate from encoded payload slicing and retain empty and missing cases.

Read More
SQL SERVER - Outer Join Not Allowed in Indexed Views

SQL SERVER – Outer Join Not Allowed in Indexed Views

June 29, 2010
Pinal Dave
SQL Performance
SQL Index, SQL Joins, SQL Scripts, SQL Statistics

Why is OUTER JOIN not allowed in indexed views? A reader was confused by the white paper answer, so I explain it with an example and ask for yours.

Read More
SQLAuthority News - Exam 70-433 - MCTS - Microsoft SQL Server 2008, Database Development

SQLAuthority News – Exam 70-433 – MCTS – Microsoft SQL Server 2008, Database Development

June 29, 2010
Pinal Dave
SQL Tips and Tricks
Best Practices, Microsoft Certifications, MVP

I finally used my expiring Prometric voucher to take Exam 70-433, MCTS: SQL Server 2008 Database Development. Here is how it went at the test center.

Read More
SQL SERVER - Default Statistics on Column - Automatic Statistics on Column

SQL SERVER – Default Statistics on Column – Automatic Statistics on Column

June 28, 2010
Pinal Dave
SQL Tips and Tricks
SQL Joins, SQL Scripts, SQL Server

Does a column need an index to have statistics? No. A quick demo shows automatic statistics on column data when AUTO_CREATE_STATISTICS is on.

Read More
Two trays pair a blue bowl with a cream jug and a blue jug with a cream bowl.

Count Distinct Pairs: Keep the Columns Together

June 27, 2010
Pinal Dave
SQL Tips and Tricks
Developer, SQL Distinct, SQL NULL, SQL Server, SQL Sub Query

Count distinct pairs by keeping their columns together. A small T-SQL example shows why concatenated labels can collide. Choose whether incomplete pairs belong in the count.

Read More
Gouache painting: beside a river, a thin reed clump and a dense tall one both lean left with the current

SIGN: Classify Positive, Negative and Zero Values

June 26, 2010
Pinal Dave
SQL Tips and Tricks
Mathematical Function, SQL Function, SQL Server

SIGN describes which side of zero an amount occupies. Preserve the original quantity and distinguish a zero value from missing input.

Read More
Previous 1 … 643 644 645 646 647 648 649 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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