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
An almost empty canoe rack on a dock with one red canoe left, while unreturned canoes sit on the far shore

Connection Pooling Problems: Timeouts, Leaks and Max Pool Size

May 9, 2013
Pinal Dave
SQL Tips and Tricks
SQL Connection, SQL DMV, SQL Error Messages, SQL Server

Diagnose connection pooling timeouts with session counts, sleeping activity, open transactions, and client settings that divide pools.

Read More
Gouache painting of a row of wooden pegs with one red peg, an adjustable guide and empty holes ahead.

Reseed an Identity Column in SQL Server: SQL in Sixty Seconds #051

May 8, 2013
Pinal Dave
SQL Video
SQL Identity, SQL in Sixty Seconds, SQL Scripts, SQL Server DBCC

To reseed an identity column, run DBCC CHECKIDENT with the RESEED option. The tests here show which value comes next after existing rows, DELETE and TRUNCATE, and what happens when the new value collides with a key.

Read More
A goods train on one track with its oldest wagon uncoupled and rolling onto a side track

Table Partitioning Is Not Sharding: What Partitioning Really Gives You

May 7, 2013
Pinal Dave
SQL Tips and Tricks
Data Warehousing, SQL Performance, SQL Server, Table Partitioning

See why partitioning is not sharding, build monthly partitions, inspect elimination, and switch a month out for simpler data management.

Read More
Stepping stones crossing a stream, one missing near the far bank leaving a gap too wide to step across.

Backup Retention: How Long to Keep What

May 6, 2013
Pinal Dave
SQL Tips and Tricks
Best Practices, DBA, SQL Backup and Restore, Transaction Log

Backup retention should preserve restore chains while meeting recovery, legal, and storage needs across full, differential, and log backups.

Read More
SQL SERVER - sys.dm_xe_map_values - Reasons for Statement Recompilation

SQL SERVER – sys.dm_xe_map_values – Reasons for Statement Recompilation

May 5, 2013
Pinal Dave
SQL Tips and Tricks
SQL DMV

What are all the reasons a statement recompiles? I found the full list with the DMV sys.dm_xe_map_values, handy when you read a Profiler or Extended Events trace.

Read More
Two hands set a landscape painting into a new wooden frame, the old frame leaning empty.

Adding IDENTITY to an Existing Column With ALTER TABLE SWITCH

May 4, 2013
Pinal Dave
SQL Tips and Tricks
SQL Identity, SQL Server, SQL Table Operation, Table Partitioning

Add IDENTITY to an existing column with an empty matching table, ALTER TABLE SWITCH, a reseed, and full dependency checks.

Read More
SQL SERVER - DELETE From SELECT Statement - Using JOIN in DELETE Statement - Multiple Tables in DELETE Statement

SQL SERVER – DELETE From SELECT Statement – Using JOIN in DELETE Statement – Multiple Tables in DELETE Statement

May 3, 2013
Pinal Dave
SQL Tips and Tricks
SQL Joins

After my UPDATE from SELECT post, many readers asked about using JOIN in DELETE statement. It is possible, and I show how with multiple tables.

Read More
Previous 1 … 486 487 488 489 490 491 492 … 844 Next
  • Books
  • Testimonials
  • Privacy Policy

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