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 two storehouses on a canal joined by a plank bridge with a red handcart crossing

How to Identify Cross-Database Transactions in SQL Server

April 22, 2015
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Scripts, SQL Server, SQL Transactions

To find cross-database transactions, search the code for references to other databases, watch a live transaction with a DMV, or read special records in the transaction log. This post tests all three on two demo databases. It also shows why a popular log script flags a brand new database.

Read More
Sql sever split comma separated list.

SQL SERVER – Split Comma Separated List Without Using a Function

April 21, 2015
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Server

I have shown how to build a comma separated list many times. This time a reader wanted the reverse: split a comma separated list into rows without a function.

Read More
Gouache painting: a tray of freshly glazed clay cups waiting on a drying rack beside a kiln, one cup with a vermilion glaze, the rest unglazed

Dirty Pages in Memory: Count Them Before and After CHECKPOINT

April 20, 2015
Pinal Dave
SQL Tips and Tricks
SQL DMV, SQL Memory, SQL Scripts, SQL Server Architecture

Dirty pages in memory are changed data pages that SQL Server has not yet written to disk. This post counts them with sys.dm_os_buffer_descriptors on SQL Server 2025, before and after CHECKPOINT, and explains why the same script can show nothing on newer servers.

Read More
A closed gate blocks access to a bridge that remains in place

Interview Question of the Week #016 – How to Take Database Offline

April 19, 2015
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts

Take a database offline with the right waiting policy, compare detach and SINGLE_USER, and verify SQL Server state before and after.

Read More
SQL SERVER – Create Login with SID – Way to Synchronize Logins on Secondary Server

SQL SERVER – Create Login with SID – Way to Synchronize Logins on Secondary Server

April 18, 2015
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Security

Create login with SID to keep SQL logins in sync on a secondary server, so users connect after log shipping, AlwaysOn or mirroring failover.

Read More
A waffle iron making identical waffles beside a stack of uneven pancakes

Forced Parameterization: When It Cuts CPU and When It Hurts

April 17, 2015
Pinal Dave
SQL Performance
Execution Plan, Parameter Sniffing, SQL CPU, SQL Performance, SQL Server

Test forced parameterization against ad hoc compile pressure with query_hash counts, compilations per second, CPU, and parameter sensitivity.

Read More
SQL SERVER - Walking the Table Hierarchy in Microsoft SQL Server Database - Notes from the Field #076

SQL SERVER – Walking the Table Hierarchy in Microsoft SQL Server Database – Notes from the Field #076

April 16, 2015
Pinal Dave
SQL Tips and Tricks
Notes from the Field, SQL Function, SQL Scripts

Kevin Hazzard shows how to walk the table hierarchy in a SQL Server database using the catalog, so you know the right order to load or clear tables.

Read More
Previous 1 … 378 379 380 381 382 383 384 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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