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
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
bitwise puzzle

Bitwise Puzzle – SQL in Sixty Seconds 160

April 26, 2021
Pinal Dave
SQL Video
SQL in Sixty Seconds, SQL Scripts, SQL Server

Many did not believe in the real world and based on the request, I have made the recent video on the same topic of the bitwise puzzle. 

Read More
A grain sampling spear holding a small sample beside a full grain sack

rows_sampled: Checking How Much Data Your Statistics Saw

April 23, 2021
Pinal Dave
SQL Performance
Data Warehousing, Master Data Services, SQL Data Storage, SQL Statistics

A fresh statistic can still come from a small sample. Compare rows with rows_sampled and see how a sample misjudges a rare value.

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

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