Guest author Sandip hit Msg 1913 while creating an index, because an index or statistics with that name already existed. A lesson on statistics name and index creation.
When One Number Has Three Different Answers
Diagnose reporting inconsistency by matching filters, refresh cutoffs, and row grain before comparing totals from different reports.
SQL SERVER – Grouping by Multiple Columns to Single Column as A String
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.
Get Date and Time Separately in SQL Server: SQL in Sixty Seconds #025
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.
Fuzzy Name Matching With SOUNDEX and DIFFERENCE
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.
VECTOR_SEARCH in SQL Server 2025: Finding Similar Rows With a Vector Index
VECTOR_SEARCH returns the rows whose vectors sit closest to a vector you give it, and a vector index makes that search approximate and fast. This post builds a six-row test with hand-made numbers on SQL Server 2025, with no AI model, and lists the limits the test showed.







