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 tightened rubber expansion plug beside a slender loose spare

Capturing Autogrowth Events With database_file_size_change

January 5, 2012
Pinal Dave
SQL Tips and Tricks
Database, SQL Scripts, SQL Server

A data file grew over the weekend and nobody owns up. This small demo shows how one extended event tells autogrowth from a manual resize.

Read More
A hand checking an unlit firework rocket standing in a bottle on a garden wall, the matches still closed.

SET NOEXEC and PARSEONLY: Checking a Script Without Running It

January 4, 2012
Pinal Dave
SQL Tips and Tricks
SQL Coding Standards, SQL Dependency, SQL Server, SQL Stored Procedure

Use PARSEONLY and NOEXEC to inspect scripts without executing them, understand deferred references, and check existing module dependencies.

Read More
Server properties window.

SQL SERVER – Effect of Compressed Backup Setting at Server Level on Database Backup

December 28, 2011
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore

A reader’s database backup got much smaller with no code change. The reason was the compressed backup setting at the server level. Here is the story.

Read More
Recovery Broker options.

SQL SERVER – Target Recovery Time of a Database – Advance Option in SQL Server 2012

December 27, 2011
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Function

Target Recovery Time is a new database option in SQL Server 2012. Set it above 0 and SQL Server uses indirect checkpoints to limit recovery time.

Read More
SQL SERVER - Fix: Error: 15138 - The database principal owns a schema in the database, and cannot be dropped

SQL SERVER – Fix: Error: 15138 – The database principal owns a schema in the database, and cannot be dropped

December 26, 2011
Pinal Dave
SQL Tips and Tricks
SQL Error Messages

Error 15138: the database principal owns a schema in the database and cannot be dropped. Move the schema to another user first, then drop the user.

Read More
Hens filing up a ramp into a wooden coop at dusk while one small red hen wanders alone in the yard.

Counting Users, Roles and Orphans in Every Database

December 25, 2011
Pinal Dave
SQL Tips and Tricks
DBA, Schema, SQL Cursor, SQL Login, SQL Server Security

Audit counting users across databases, include roles and schema ownership, and distinguish orphaned SQL users from contained identities.

Read More
SQL SERVER - A Quick Script for Point in Time Recovery - Back Up and Restore

SQL SERVER – A Quick Script for Point in Time Recovery – Back Up and Restore

December 23, 2011
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Scripts

A quick script for point in time recovery: set up and back up a database, restore it to a point in time, then clean up. Three simple steps.

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

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