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
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
A needle threader drawing one strand through one eye beside covered needles

UNMASK on One Column: Granting Unmasking in SQL Server 2022

May 2, 2013
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server 2022, SQL Server Security

Support needs phone numbers but not salaries. Here is how to unmask one column, and what that permission does not do.

Read More
A hand raising a single vermilion pennant on a flagpole above a harbor full of moored boats.

Adding a NOT NULL Column With a Default to a Big Table

May 1, 2013
Pinal Dave
SQL Tips and Tricks
DBA, SQL Column, SQL Constraint and Keys, SQL Server, SQL Table Operation

Add a NOT NULL column with a default safely, distinguish metadata changes from row updates, and plan a staged Standard edition rollout.

Read More
Previous 1 … 491 492 493 494 495 496 497 … 849 Next
  • Books
  • Testimonials
  • Privacy Policy

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