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: in the upper row they are ordered by the color of their base band, so the tallest candle with the earliest color stands first

MIN and MAX Text: Collation Chooses the Extremes

August 2, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL String

MIN and MAX text use collation ordering, not numeric magnitude. Compare digit strings, empty text and NULL using an explicit BIN2 contract.

Read More
A small plain brass desk bell beside a closed notebook and a wooden tray in soft daylight.

Monitoring With What You Already Have

August 1, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Build useful SQL Server alerts with Agent, operators, failed-job notifications, and a review routine that verifies the whole delivery path.

Read More
Two groups of sage, blue and cream cloths hang above a table with a red cord.

Date Conversion Styles: Disambiguate Day and Month

July 31, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL NULL, SQL Scripts, SQL Server

Date conversion styles define how incoming text becomes a date. Compare month-first and day-first interpretations without guessing. Keep invalid dates separate from missing input.

Read More
SQLAuthority News - Author's Birthday - Top 7 Commenters - Volunteers

SQLAuthority News – Author’s Birthday – Top 7 Commenters – Volunteers

July 30, 2009
Pinal Dave
SQLAuthority News
Database, DBA, Software Development

It’s my birthday, so I am taking a break from tech posts to spend time with family and to thank my top 7 commenters who help readers on this blog.

Read More
Script Wizard - SQL.

SQL SERVER – 2008 – Copy Database With Data – Generate T-SQL For Inserting Data From One Table to Another Table

July 29, 2009
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, DBA, SQL Scripts, SQL Utility

SQL Server 2008 lets you copy database with data: turn on Script Data in the Generate Scripts wizard to get INSERT statements for the rows in your tables.

Read More
Two ivory frames lie on a wooden table, one over blue woven cloth and one with a plain gray inset.

XQuery string-length: Count Content Without Markup

July 28, 2009
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Server, SQL XML

XQuery string-length counts the selected element string value. Seven bounded cases separate content from markup, empty elements from missing elements, and missing XML from existing documents.

Read More
A hand fits a brass hinge pin while matching spare pins lie on the bench.

Finding Duplicates Before Adding a Unique Constraint

July 27, 2009
Pinal Dave
SQL Tips and Tricks
Duplicate Records, Ranking Functions, SQL Constraint and Keys, SQL Group By, SQL NULL

A unique constraint fails on the first duplicate it meets and tells you about only one. Here is how to list them all and clean up safely.

Read More
Previous 1 … 689 690 691 692 693 694 695 … 841 Next
  • Books
  • Testimonials
  • Privacy Policy

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