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
Two pearl strands side by side on velvet, matched bead for bead, one pearl in the second strand a warmer shade.

Comparing Data Between Two Tables

January 29, 2014
Pinal Dave
SQL Tips and Tricks
Duplicate Records, SQL Joins, SQL NULL, SQL Scripts, SQL Server

Comparing data between two tables uses EXCEPT, full joins, and hashes, with explicit NULL and duplicate rules for trustworthy results.

Read More
A finger pressing an already glowing lift call button a second time beside a closed brass lift door.

Stopping Duplicate API Requests With an Idempotency Key Table

January 28, 2014
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Constraint and Keys, SQL Server, SQL Transactions

Store an idempotency key with its order in one transaction, return the committed result on retries, and define key reuse and expiry rules.

Read More
Two matching slate blue birdhouses on a fence post, one with a higher entry hole and no perch.

Comparing Two Database Schemas With T-SQL

January 22, 2014
Pinal Dave
SQL Tips and Tricks
Schema, SQL Scripts, SQL Server, SQL System Table

Comparing two database schemas with catalog queries exposes missing objects, changed columns, and index differences before deployment.

Read More
A power strip under a table with cables to a lamp, a radio and a kettle, one cord vanishing through the floor.

Finding What Depends on a Table

January 15, 2014
Pinal Dave
SQL Tips and Tricks
SQL Dependency, SQL Server, SQL Stored Procedure, SQL System Table

Finding What depends on a table starts with sys.dm_sql_referencing_entities, then checks cross-database code and dynamic SQL.

Read More
MySQL - Change the Limit of Row Retrieved in MySQL Workbench

MySQL – Change the Limit of Row Retrieved in MySQL Workbench

January 12, 2014
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Server

Why does a query return every row in your app but only 1000 in MySQL Workbench? It limits rows by default, and here is how to change that limit.

Read More
Two lobster pots on a harbor quay, one crammed with seaweed and shells, the other holding one lobster.

Query Store Capture Modes: ALL, AUTO and CUSTOM

January 10, 2014
Pinal Dave
SQL Performance
Query Store, SQL Performance, SQL Server, SQL Server Configuration

Choose a Query Store capture mode for your workload, inspect ALL, AUTO, CUSTOM and NONE, and tune thresholds without losing useful history.

Read More
Two blank wooden tags attached to the same small wooden box with plain cotton string.

Renaming Something Without Breaking Everything

January 8, 2014
Pinal Dave
SQL Tips and Tricks
Best Practices, Database, SQL Scripts, SQL Server

Plan a rename database object change with dependency checks, updated callers, permission tests, and a temporary compatibility name when suitable.

Read More
Previous 1 … 258 259 260 261 262 263 264 … 420 Next
  • Books
  • Testimonials
  • Privacy Policy

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