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
Biscuit joiner set against one timber joint beside an untouched matching joint

QUERY_OPTIMIZER_HOTFIXES: Turning On Optimizer Fixes per Database

February 24, 2013
Pinal Dave
SQL Performance
SQL Performance, SQL Scripts, SQL Server

A vendor says to turn on optimizer hotfixes. Here is how I check the setting, try it on one statement, and restore it.

Read More
A kitchen cupboard crammed with unmatched container lids, a red one at the front.

Finding Orphaned Data and Log Files Nobody Attached

February 23, 2013
Pinal Dave
SQL Tips and Tricks
DBA, Disk, SQL Data Storage, SQL Server

Inventory orphaned data and log files by comparing data-folder contents with sys.master_files, then review candidates before cleanup.

Read More
A netted fruit cage over blackcurrant bushes, a blackbird perched outside unable to get in.

Safe Dynamic SQL With sp_executesql and QUOTENAME

February 19, 2013
Pinal Dave
SQL Tips and Tricks
Dynamic SQL, SQL Server, SQL Server Security, SQL Stored Procedure

Write safe dynamic SQL with typed value parameters, validated object names, and allowed sort columns, then test hostile input.

Read More
SQL SERVER - Fix : Error - sqljdbc_auth.dll Issue - com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1433 has failed

SQL SERVER – Fix : Error – sqljdbc_auth.dll Issue – com.microsoft.sqlserver.jdbc.SQLServerException: The TCP/IP connection to the host localhost, port 1433 has failed

February 17, 2013
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server

A JDBC user got ‘The TCP/IP connection to the host localhost, port 1433 has failed’ even after checking the firewall. Here is the sqljdbc_auth.dll fix.

Read More
A row of garden gates swinging free, one red gate still latched

Optimized Locking in SQL Server 2025: What Changes for Blocking

February 15, 2013
Pinal Dave
SQL Performance
SQL Lock, SQL Performance, SQL Server, Transaction Isolation

Enable optimized locking in SQL Server 2025 with ADR and RCSI, then compare lock counts and blocking while checking LAQ limits.

Read More
A half-built brick wall with even mortar joints, a taut string line along the top and a trowel on the last brick.

Formatting T-SQL Consistently Across a Team

February 14, 2013
Pinal Dave
SQL Tips and Tricks
Best Practices, Software Development, SQL Coding Standards, SQL Server

Formatting T-SQL consistently means choosing a few readable rules, using a formatter carefully, and keeping historical changes focused.

Read More
Two glued boards held in red clamps on a workbench while the next board waits.

Waiting for an Agent Job to Finish Before the Next Step Runs

February 9, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL Scripts, SQL Server, SQL Server Agent

Wait for an Agent job to finish by polling its current sysjobactivity row, enforcing a timeout, and checking sysjobhistory outcome.

Read More
Previous 1 … 279 280 281 282 283 284 285 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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