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 seedling in a small pot beside a tall grown tree with a vermilion watering can between them

Implicit Transactions in SQL Server: The Setting That Leaves Work Open

May 23, 2023
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL DMV, SQL Lock, SQL Transactions

Implicit transactions make SQL Server open a transaction on the first data statement and keep it open until a COMMIT or ROLLBACK. This post shows what starts one, how @@TRANCOUNT counts it, why a second session waits, and how to find and clear the sessions that left work open.

Read More
A nearly empty grain hopper pulls a warning bell while a miller works on another task

Adapting to the Evolving Role of the DBA with SQL DM

May 17, 2023
Pinal Dave
SQL Tips and Tricks
Idera

The evolving role of the DBA includes proactive monitoring. See how SQL DM can highlight risk, help prioritize issues and support the team.

Read More
A hand picking a small stone out of a tray of raw rice, the empty cooking pot waiting beside it.

Data Quality Asserts in T-SQL: Failing a Load When Rules Break

May 4, 2023
Pinal Dave
SQL Tips and Tricks
ETL, SQL Error Messages, SQL Server, SQL Transactions

Write data quality asserts in T-SQL to reject invalid staging rows, preserve check results, and record each load attempt.

Read More
A kitchen dresser with plates and cups on open shelves, one shelf hidden behind a small drawn curtain.

Column-Level Permissions: Hiding One Column From Some Users

April 26, 2023
Pinal Dave
SQL Tips and Tricks
SQL Column, SQL Server, SQL Server Security, SQL View

Apply SQL Server column-level permissions, test DENY and SELECT behavior, inspect explicit grants, and compare views with data masking.

Read More
A hand holding a brass pass token to a locked iron turnstile between two sections of an empty stadium.

Cross-Database Ownership Chaining: Why It Is Off and What to Use

April 25, 2023
Pinal Dave
SQL Tips and Tricks
DBA, SQL Server Encryption, SQL Server Security, SQL Stored Procedure

Understand cross-database ownership chaining, inspect its scope, and use signed procedures for narrow access between SQL Server databases.

Read More
A nearly empty grain bin with a scoop in a barn, a field of ripening wheat seen through the open door

Finding Oversized Data Files With Lots of Free Space

March 8, 2023
Pinal Dave
SQL Tips and Tricks
DBA, Disk, Shrinking Database, SQL Data Storage

Identify oversized data files with FILEPROPERTY, separate internal free space from disk capacity, and review one-time shrink choices.

Read More
Gouache painting of a bead tray with tiny cells beside a tray of four large compartments, one vermilion

VLF Growth Rules: How Many Virtual Log Files One Growth Adds

February 28, 2023
Pinal Dave
SQL Tips and Tricks
SQL Server 2022, Transaction Log, VLF

The VLF growth rules say how many virtual log files one log growth adds: one up to 64 MB, eight up to 1 GB, sixteen above. This post measures them on a demo database, shows a log with 68 VLFs from 1 MB steps, and repairs it by shrinking and growing once.

Read More
Previous 1 … 15 16 17 18 19 20 21 … 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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