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 of a heap of pebbles with one of each kind lined along driftwood, one pebble vermilion

Count Distinct in Access: Use a Subquery in FROM

June 17, 2021
Pinal Dave
SQL Tips and Tricks
SQL Distinct, SQL Scripts, SQL Server

Count distinct in Access with a subquery in the FROM clause, because Access SQL does not accept COUNT(DISTINCT). Includes NULL and multi-column cases.

Read More
Original vessels and supporting fittings remain preserved beside a replacement drawer.

SQL SERVER – Identity Column is Difficult to Remove

June 16, 2021
Pinal Dave
SQL Tips and Tricks
SQL Identity, SQL Scripts, SQL Server

The IDENTITY property is difficult to remove through a column alteration because SQL Server doesn’t support that operation. Existing values need protection.

Read More
Gouache painting of a closed garden gate with a brass padlock and a doormat with a small vermilion mark

Unlock SQL Login Without Changing the Password

June 9, 2021
Pinal Dave
SQL Tips and Tricks
SQL Login, SQL Password, SQL Scripts, SQL Server Security

Unlock SQL login accounts without a new password: switch CHECK_POLICY off and on. See the lockout, the fix, and what to do when MUST_CHANGE blocks it.

Read More
cultures FORMAT

SQL SERVER – Display Dates in Different cultures FORMAT

May 31, 2021
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Scripts, SQL Server

Today we are going to learn a very simple and interesting concept used very little. It is about how to Display Dates in Different cultures FORMAT.

Read More
Gouache painting of two nearly identical potted plants on a windowsill with a small vermilion watering can between them.

EDIT_DISTANCE and JARO_WINKLER: Fuzzy String Matching in SQL Server 2025

May 24, 2021
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL String

EDIT_DISTANCE counts the single-character changes between two strings, and the JARO_WINKLER functions score how alike they look. This post tests the four preview functions on SQL Server 2025, shows the Windows collation error and its fix, and finds near-duplicate customer names.

Read More
Gouache painting of a spinning cog, a block tower and a toy barn with a vermilion door on a shelf

DBCC CHECKIDENT: Check and Fix the Next Identity Value

May 17, 2021
Pinal Dave
SQL Tips and Tricks
SQL Delete, SQL Identity, SQL Scripts, SQL Server DBCC

DBCC CHECKIDENT reports the next identity value of a table and can change it. This post runs NORESEED, the no-option form and RESEED on a small demo table. It shows how DELETE and TRUNCATE treat the counter, the duplicate key error from a value that is too low, and who may run the command.

Read More
A machine is prepared beside matching installation fittings and an older blank guide.

SQL SERVER on Linux – Version Specific Installation References and Commands

May 11, 2021
Pinal Dave
SQL Tips and Tricks
Linux, SQL Server, SQL Server Installation, Starting SQL

SQL Server on Linux installation requires instructions matched to the exact supported releases. My older customer checklist concerned Ubuntu.

Read More
Previous 1 … 31 32 33 34 35 36 37 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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