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 - ASCII to Decimal and Decimal to ASCII Conversion

SQL SERVER – ASCII to Decimal and Decimal to ASCII Conversion

May 19, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server

In this blog post we will see how we can convert ASCII to Decimal and Decimal to ASCII. In simple words, we will see the decimal and ASCII conversion.

Read More
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 - 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
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
A tidy line of wooden artist mannequins where only the last one has a red bucket stuck on its head

Last Line of a SQL Script: The Joke Every DBA Has Lived

May 14, 2007
Pinal Dave
SQL Tips and Tricks
SQL Humor, SQL Scripts, SQL Server Management Studio, SQL Transactions

The last line of a SQL script decides whether your work is saved, rolled back, or still holding locks. Here are the classic endings and how to check them.

Read More
Previous 1 … 320 321 322 323 324 325 326 … 336 Next
  • Books
  • Testimonials
  • Privacy Policy

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