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 - 2005 Understanding Trigger Recursion and Nesting with examples

SQL SERVER – 2005 Understanding Trigger Recursion and Nesting with examples

May 18, 2007
Pinal Dave
SQL Performance
SQL Scripts, SQL Server Security, SQL Stored Procedure, SQL Trigger

How trigger recursion and nesting work in SQL Server 2005: triggers nest up to 32 levels, recursive triggers fire themselves, and both can be turned off.

Read More
SQL SERVER - 2005 - SSMS Change T-SQL Batch Separator

SQL SERVER – 2005 – SSMS Change T-SQL Batch Separator

May 18, 2007
Pinal Dave
SQL Tips and Tricks
SQL Server, SQL Server Management Studio, SQL Utility

A big script used EndBatch instead of GO. Rather than a risky mass replace, I changed the Batch Separator in SSMS under Tools, Options, and it ran as is.

Read More
SQL SERVER - Disable Index - Enable Index - ALTER Index

SQL SERVER – Disable Index – Enable Index – ALTER Index

May 17, 2007
Pinal Dave
SQL Performance
SQL Index, SQL Scripts, SQL Server DBCC

When DTS, BCP or BULK INSERT needs an index out of the way, I prefer to disable index with ALTER INDEX and enable it again with REBUILD. AdventureWorks example.

Read More
SQLAuthority News - Limited Edition T-Shirts Arrived

SQLAuthority News – Limited Edition T-Shirts Arrived

May 17, 2007
Pinal Dave
SQLAuthority News
SQL T-Shirt

The limited edition T-shirts from SQLAuthority.com arrived, and a few loyal readers get theirs tomorrow. Thank you for all your emails and suggestions.

Read More
SQL SERVER - Fix : Error 1205 : Transaction (Process ID) was deadlocked on resources with another process and has been chosen as the deadlock victim. Rerun the transaction

SQL SERVER – Fix : Error 1205 : Transaction (Process ID) was deadlocked on resources with another process and has been chosen as the deadlock victim. Rerun the transaction

May 16, 2007
Pinal Dave
SQL Performance
SQL Error Messages, SQL Scripts, SQL Server

Fix : Error 1205 : Transaction (Process ID) was deadlocked on resources with another process and has been chosen as the deadlock victim. Rerun the transaction.

Read More
SQL SERVER - Fix: Error 130: Cannot perform an aggregate function on an expression containing an aggregate or a subquery

SQL SERVER – Fix: Error 130: Cannot perform an aggregate function on an expression containing an aggregate or a subquery

May 16, 2007
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Function, SQL Scripts, SQL Sub Query

Error 130 says you cannot perform an aggregate function on an expression containing an aggregate, like AVG(COUNT()). A derived table gets around it.

Read More
SQL SERVER - Binary Sequence Generator - Truth Table Generator

SQL SERVER – Binary Sequence Generator – Truth Table Generator

May 15, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Utility

A script that builds a 512 row truth table with its decimal value and binary sequence, using CROSS JOINs on a bit table. Add or remove joins to resize it.

Read More
Previous 1 … 817 818 819 820 821 822 823 … 839 Next
  • Books
  • Testimonials
  • Privacy Policy

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