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 twin lambs in a field, a hand parting the wool on one to reveal a small red mark

Comparing Two Copies of a Table With CHECKSUM_AGG and HASHBYTES

June 24, 2013
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Migration, SQL Scripts, SQL Server

Use CHECKSUM_AGG for a quick table-copy signal, then compare canonical HASHBYTES values and key ranges to locate real data differences.

Read More
Glass lavender alembic feeding a small oil vial beside an intact rooted lavender plant

BACPAC or Backup: When an Export Is the Wrong Tool

March 10, 2013
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Migration, SQL Server

A BACPAC export has rows in it, but it is not a recovery backup. Here is a small demo that shows the difference.

Read More
Shoppers walking toward a red-awninged market stall in its new spot

Moving Databases to a New Server Behind a SQL Server Alias

December 13, 2012
Pinal Dave
SQL Tips and Tricks
DBA, SQL Connection, SQL Migration, SQL Server Configuration

Move databases behind a SQL Server alias or DNS CNAME by planning name redirection, backup and restore, Kerberos SPNs, and connection tests.

Read More
Two hands moving a young tomato plant with its roots intact from a small pot into a prepared garden bed

Moving From LocalDB to a Real Instance

September 15, 2012
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Collation, SQL Migration, SQL Server, SQL Server Express

Moving from LocalDB to a server instance takes a tested backup and restore, new connection strings, mapped logins, and a collation check.

Read More
A riveting tool aligns a new rivet with existing holes that preserve the old fastening positions

Explicit Identity Values: Loading Rows With Their Old Keys

August 7, 2012
Pinal Dave
SQL Tips and Tricks
Primary Key, SQL Identity, SQL Migration, SQL Table Operation

Moving rows and keeping their old keys? Here is the safe order of steps, and the counter check that saves you from a collision.

Read More
A moving van at the open door of a new house at dusk, one last box on the ramp

Moving a Database to New Hardware With Little Downtime

April 28, 2012
Pinal Dave
SQL Tips and Tricks
DBA, Hardware, Log Shipping, SQL Backup and Restore, SQL Migration

Moving a database to new hardware with little downtime uses early restore, a maintained log chain, final synchronization, and a tested client switch.

Read More
A hand lifting a bunch of grapes by its top stem, the branching stems hanging open above a red cloth

Translating Oracle CONNECT BY Queries to Recursive CTEs

February 19, 2012
Pinal Dave
SQL Tips and Tricks
CTE, Oracle, SQL Migration, SQL Server

Translate CONNECT BY into recursive CTEs with root selection, depth, paths, sibling ordering, cycle checks, and a recursion limit.

Read More
Previous 1 2 3 4 5 6 Next
  • Books
  • Testimonials
  • Privacy Policy

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