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
SQL SERVER - Disable All the Trigger of Current Database

SQL SERVER – Disable All the Trigger of Current Database

August 19, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Trigger

Another way to disable all the trigger objects in the current database: a stored procedure by Manish Kaushik that loops over each table and disables them.

Read More
SQL SERVER - Detailed Explanation of Transaction Lock, Lock Type, Avoid Locks

SQL SERVER – Detailed Explanation of Transaction Lock, Lock Type, Avoid Locks

August 18, 2008
Pinal Dave
SQL Performance
SQL Error Messages, SQL Scripts, SQL Server Security, SQL Transactions

How do you find which table has a transaction lock and what lock type it is? Imran Mohammed explains it for SQL Server 2000 and 2005, and how to avoid locks.

Read More
Seven smooth stones on a wooden tray beside a sage bowl, with one stone tied in red ribbon and a pale folded cloth.

Stable Weekday Numbers Without Changing DATEFIRST

August 17, 2008
Pinal Dave
SQL Tips and Tricks
SQL DateTime, SQL Function, SQL Scripts

Stable weekday numbers use a fixed Monday anchor and negative-safe modulo. Map Monday to one without changing DATEFIRST or session language.

Read More
A long string of bunting laid out on a village green while two hands check the last knot

Generating Backup Commands for Every Database With STRING_AGG

August 17, 2008
Pinal Dave
SQL Tips and Tricks
DBA, SQL Backup and Restore, SQL Scripts, SQL String

Use STRING_AGG for generating backup commands with copy-only backups, checksums, safe database names, and dated files for careful review.

Read More
Three potted herbs and a blank notebook sit beside a magnifying glass on a painted garden bench

SQL Server Tips: Temporary Tables, Constraints and Agent

August 16, 2008
Pinal Dave
SQL Tips and Tricks
SQL Constraint and Keys, SQL Server Agent, SQL TempDB

Temporary tables, constraints and SQL Server Agent each solve a different problem. Choose an appropriate temporary-table scope, use declarative rules for data integrity and give scheduled jobs clear ownership and failure handling.

Read More
A hand redrawing one of several pinned maps with a red pencil to match a changed road

sp_refreshsqlmodule: Refreshing Views and Procedures After a Table Change

August 15, 2008
Pinal Dave
SQL Tips and Tricks
SQL Dependency, SQL Server, SQL Stored Procedure, SQL View

Use sp_refreshsqlmodule to refresh changed table dependencies, inspect stale view columns, and protect stable contracts with schema binding.

Read More
SQL SERVER - 2008 - Introduction to Online Indexing Operation

SQL SERVER – 2008 – Introduction to Online Indexing Operation

August 15, 2008
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Server

An introduction to online indexing in SQL Server, which lets you create or rebuild an index while the table stays available to your app.

Read More
Previous 1 … 745 746 747 748 749 750 751 … 843 Next
  • Books
  • Testimonials
  • Privacy Policy

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