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 water wheel turning beside a mill while its sluice gate upstream is propped open by one loose wedge

Checking SQL Server Service Startup Type and Status From T-SQL

May 5, 2021
Pinal Dave
SQL Tips and Tricks
DBA, Registry, SQL DMV, SQL Server Agent, SQL Server Services

Inspect service startup type, current status, service account, and SQL TCP registry values, then compare configuration with live listeners.

Read More
Populated, retained and empty receiving drawers remain separate from an outbound case.

SQL SERVER – List Service Broker Queue Count

May 4, 2021
Pinal Dave
SQL Tips and Tricks
Service Broker, SQL Scripts, SQL Server

I inspect Service Broker Queue Count through queue and internal-table catalogs. A customer requested a quick inventory.

Read More
Drawer, work-area and cabinet latches remain distinct beside one inspected fitting.

SQL SERVER – Enabling or Disabling Triggers with the Correct Scope

May 3, 2021
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Trigger

To disable all triggers correctly, I first identify the required scope. My original customer case concerned expensive table-trigger work.

Read More
Gouache painting of three potted seedlings on a greenhouse shelf, the middle one in a deep vermilion pot and slightly taller, with a wooden ruler leaning at the front

Simple Interest in SQL Server: A Function That Keeps Cents

April 30, 2021
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Function, SQL Scripts, SQL Server

Simple interest in SQL Server is principal times rate times years divided by 100, and a T-SQL function returns it in one line. This post shows how an int return type drops the cents and what SCHEMABINDING changes. It measures the cost of a scalar function on 500,000 rows and ends with compound interest.

Read More
Gouache illustration of the difference between Count and COUNT_BIG, with small and large token containers beside separate assembly fittings.

SQL SERVER – Difference Between Count and Count_Big

April 29, 2021
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL Scripts, SQL Server

The difference between Count and COUNT_BIG includes result range and indexed-view requirements. Their row-counting rules are the same.

Read More
A crowd of seagulls mobbing the hatch of a small beach kiosk while a hand pulls the shutter halfway down.

Logon Storms: Protecting SQL Server From Connection Floods

April 28, 2021
Pinal Dave
SQL Tips and Tricks
DBA, SQL Connection, SQL Login, SQL Server Security, SQL Trigger

Diagnose SQL Server logon storms, control connection growth, test a limited logon trigger, and preserve administrator recovery access.

Read More
A figure sweeping a metal detector across a long beach, a small vermilion flag marking one spot.

Searching the Error Log by Date and Text With xp_readerrorlog

April 27, 2021
Pinal Dave
SQL Tips and Tricks
DBA, SQL Error Messages, SQL Log, SQL Scripts

Search the SQL Server error log by date and text, select archives, capture matching rows, and cycle logs without losing context.

Read More
Previous 1 … 67 68 69 70 71 72 73 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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