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 empty drain catch baskets, one wet and one dry, beside loose leaves

Finding Databases That Have Never Been Backed Up

June 17, 2014
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL DMV, SQL Monitoring

Your backup job is green, but is every database in it? Here is a read-only way to find the ones missing from msdb history.

Read More
Two lakeside cabins built from one plan, one with an added porch and a missing window, one red door

Comparing Two Schemas With sys.columns and a FULL OUTER JOIN

June 16, 2014
Pinal Dave
SQL Tips and Tricks
Schema, SQL Joins, SQL Scripts, SQL System Table

Use read-only queries for comparing two schemas, finding missing columns, checking type details, and reviewing indexes and modules.

Read More
Two cream tickets with matching red circles sit beside one blue parcel in a wooden compartment.

SQL Server: Why Retrying an INSERT Can Create Duplicate Rows

June 15, 2014
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Scripts, SQL Server

Retrying an INSERT can create duplicate rows even with an identity primary key. These tested examples use a stable request ID to return the original order, reject changed inputs, and preserve unrelated errors.

Read More
A walker seen from behind pauses where a woodland footpath splits into a narrow path and a wider one.

GDR or CU: Choosing Your Update Branch

June 14, 2014
Pinal Dave
SQL Tips and Tricks
Cumulative Update, DBA, SQL Patch, SQL Server, SQL Server Security

Choose GDR or CU for SQL Server by understanding security and cumulative branches, checking the exact build, and testing a branch change.

Read More
SQL Server Agent Scan Settings.

SQL SERVER – How to Get SQL Server Restart Notification?

June 13, 2014
Pinal Dave
SQL Tips and Tricks
SQL Utility

Want a restart notification when SQL Server starts, without buying a tool? Here are the steps to run a stored procedure at startup.

Read More
Sql server high availability options table.

SQL SERVER – SQL Server High Availability Options – Notes from the Field #032

June 12, 2014
Pinal Dave
SQL Performance
Notes from the Field, Shrinking Database

Not sure which of the High Availability options fits your organization? Tim Radney explains the SQL Server choices in very simple words.

Read More
Gouache painting of two small trains on parallel tracks with one uncoupled red wagon waiting between them

Attach a Database in SQL Server and Detach It Safely

June 11, 2014
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Deprecated Feature, SQL Scripts

To attach a database, use CREATE DATABASE with FOR ATTACH and point it at the data and log files. This post detaches a demo database, attaches it again, shows the error that stops a detach, and compares the old sp_attach_db procedure with the current statement.

Read More
Previous 1 … 426 427 428 429 430 431 432 … 845 Next
  • Books
  • Testimonials
  • Privacy Policy

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