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
A tennis ball machine sending every ball to the same spot on a clay court, the marks clustered in one place.

Repeatable Test Data With a Fixed Random Seed

September 15, 2023
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Random, SQL Server, Testing

Generate repeatable test data with a fixed RAND seed or row-number hashes, then verify identical names and amounts across runs.

Read More
Query Store Feature for Secondary Replicas.

SQL SERVER – Query Store Feature for Secondary Replicas

September 14, 2023
Pinal Dave
SQL Tips and Tricks
AlwaysOn, Query Store, SQL Server 2022

SQL Server 2022 extends the Query Store feature for secondary replicas. Here is how to enable it and what to watch before using it.

Read More
Gouache painting of a striped wooden crossing barrier lowered across a small dirt track, its tip painted vermilion

PS1 Cannot Be Loaded Because Running Scripts Is Disabled

September 7, 2023
Pinal Dave
SQL Tips and Tricks
Command Line, PowerShell, Windows

PS1 cannot be loaded because PowerShell’s execution policy blocks scripts by default. You can set RemoteSigned, bypass the policy for one session, or choose Unrestricted as a last resort. Here is each option, and the scope to check.

Read More
A caulking gun with a stuck cartridge holding up the work at its nozzle

Blocking Alert: A T-SQL Check for Sessions Blocked Too Long

September 6, 2023
Pinal Dave
SQL Tips and Tricks
Best Practices, Comprehensive Database Performance Health Check, SQL Server

Short blocking is normal. This check flags lock waits past a threshold and walks each chain to the session at the front of the line.

Read More
schema

SQL SERVER – How to Move a Table into a Schema in T-SQL

September 4, 2023
Pinal Dave
SQL Tips and Tricks
Schema

If you’ve ever wondered how to move a table into a schema in T-SQL, this post is for you. One ALTER SCHEMA TRANSFER command does the job.

Read More
certificateoftrust

SQL SERVER – Fix – Error – The certificate chain was issued by an authority that is not trusted

September 1, 2023
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL Error Messages, SQL Server Security

ASP.NET Core applications can sometimes result in the error “The certificate chain was issued by an authority that is not trusted.”

Read More
Gouache painting: a tea shop counter where one small wooden crate is checked twice: once close up under a magnifying lens, and once from across the room on a wide shelf; the crate's tag is vermilion

BDD vs TDD: One Small Feature, Two Ways to Test It

August 31, 2023
Pinal Dave
SQL Tips and Tricks
Best Practices, Developer, Software Development, Testing

BDD vs TDD is easy to mix up until you test the same feature both ways. This post checks one delivery rule with a unit test and then with a plain-language scenario, runs the unit test, and explains when each approach fits.

Read More
Previous 1 … 9 10 11 12 13 14 15 … 571 Next
  • Books
  • Testimonials
  • Privacy Policy

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