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 simple ceramic cups containing different amounts of water on a small wooden tray.

When One Number Has Three Different Answers

September 16, 2012
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Diagnose reporting inconsistency by matching filters, refresh cutoffs, and row grain before comparing totals from different reports.

Read More
Two hands moving a young tomato plant with its roots intact from a small pot into a prepared garden bed

Moving From LocalDB to a Real Instance

September 15, 2012
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Collation, SQL Migration, SQL Server, SQL Server Express

Moving from LocalDB to a server instance takes a tested backup and restore, new connection strings, mapped logins, and a collation check.

Read More
SQL SERVER - Grouping by Multiple Columns to Single Column as A String

SQL SERVER – Grouping by Multiple Columns to Single Column as A String

September 14, 2012
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL XML

How do you group data from multiple columns into one comma separated string per row, grouped by another column? Here is a sample dataset and the query.

Read More
A sparrow leaving a birdbath taken by a big pigeon, flying toward a puddle beside a red tulip

SET LOCK_TIMEOUT and Error 1222: Waiting Less for Locks

September 13, 2012
Pinal Dave
SQL Performance
SQL Error Messages, SQL Lock, SQL Server, SQL Transactions

Set LOCK_TIMEOUT to bound lock waits, reproduce error 1222, clean up the transaction, and retry safely without confusing client timeouts.

Read More
Gouache painting of an illustrated card passing through a wooden frame into a blank calendar card and an hourglass card.

Get Date and Time Separately in SQL Server: SQL in Sixty Seconds #025

September 12, 2012
Pinal Dave
SQL Video
SQL Datatype, SQL DateTime, SQL in Sixty Seconds, SQL Scripts

You can get date and time separately from a datetime value in two ways: formatted text or real DATE and TIME values. The tests here show how each one sorts, filters and fails, and which one to keep in your code.

Read More
SQL SERVER - Why Do We Need Master Data Management - Importance and Significance of Master Data Management (MDM)

SQL SERVER – Why Do We Need Master Data Management – Importance and Significance of Master Data Management (MDM)

September 11, 2012
Pinal Dave
SQL Tips and Tricks

Two address books, one friend filed under J and under S: a simple story that explains why we need Master Data Management (MDM) and what it brings.

Read More
Similar maracas with different seeds visible through their open plugs

Fuzzy Name Matching With SOUNDEX and DIFFERENCE

September 10, 2012
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server

SOUNDEX and DIFFERENCE can surface duplicate customers, and they can also flag people who only sound alike. Here is how I keep the review honest.

Read More
Previous 1 … 520 521 522 523 524 525 526 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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