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 stone harbor wall at low tide with a dark band of seaweed marking the high water line, a coil of rope on the quay.

Watermarks for Incremental Extracts

December 19, 2011
Pinal Dave
SQL Tips and Tricks
Change Data Capture, Data Warehousing, ETL, SQL DateTime, SQL Server

Watermarks for incremental extracts need clear boundaries, durable checkpoints, and a plan for late updates, deletes, and missed rows.

Read More
A backyard sandbox with practice castles and a red pail, fenced off from neat vegetable beds

SQL SERVER – AdventureWorks for SQL Server 2012 RC0 – Samples Database for SQL Server 2012 RC0

December 18, 2011
Pinal Dave
SQL Tips and Tricks
SQL Documentation, SQL Download, SQL Sample Database

Microsoft released AdventureWorks for SQL Server 2012 RC0. Here is the download link, plus why this sample database belongs on a development box only.

Read More
Gouache painting of a database traveler searching for a missing backup folder

Msg 3201: Cannot Open Backup Device, Operating System Error 3 in SQL Server

December 17, 2011
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Error Messages, SQL Server Management Studio

Msg 3201 with operating system error 3 means SQL Server cannot find the folder in your backup path. The tests here trigger errors 3, 5 and 67 on SQL Server 2025, show how to check the folder from the server side, and explain why a folder created on the SSMS computer does not help.

Read More
Maximum Rollover Files Dialog Box.

SQL SERVER – 2012 Auditing Enhancement – On Audit Log Failure Options – Maximum Rollover Files

December 16, 2011
Pinal Dave
SQL Tips and Tricks
SQL Server Security

SQL Server 2012 adds two auditing enhancements: new options on audit log failure, like fail operation or continue, and a maximum rollover files setting.

Read More
An ice cream spade lifts one portion from a full tub beside an empty tub

EXISTS vs COUNT: The Right Way to Check If Rows Exist

December 15, 2011
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server

Need a yes or no? Ask EXISTS. Need a number? Ask COUNT. Here is a small demo that shows why mixing them up can quietly give the wrong answer.

Read More
A ring compressor encloses one piston while another piston remains outside its boundary

Foreign Keys Across Databases: What to Use Instead

December 12, 2011
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server

SQL Server will not create a foreign key to another database. Here is the real error, why a report is only detection, and a same-database option that enforces.

Read More
SQL SERVER - Fix: Error: Msg 1904, Level 16 The statistics on table has 33 column names in statistics key list. The maximum limit for index or statistics key column list is 32

SQL SERVER – Fix: Error: Msg 1904, Level 16 The statistics on table has 33 column names in statistics key list. The maximum limit for index or statistics key column list is 32

December 11, 2011
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Statistics

Statistics can use up to 32 columns, while an index key is limited to 16. Here is Msg 1904 with a quick demo of 33 versus 32 columns.

Read More
Previous 1 … 375 376 377 378 379 380 381 … 572 Next
  • Books
  • Testimonials
  • Privacy Policy

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