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 - CASE Statement/Expression Examples and Explanation

SQL SERVER – CASE Statement/Expression Examples and Explanation

April 14, 2007
Pinal Dave
SQL Performance
Best Practices, SQL Scripts

The CASE Statement/Expression works anywhere an expression can, from the SELECT list to WHERE and HAVING. Here are its two basic forms with examples.

Read More
SQL SERVER - Stored Procedures Advantages and Best Advantage

SQL SERVER – Stored Procedures Advantages and Best Advantage

April 13, 2007
Pinal Dave
SQL Performance
Best Practices, SQL Stored Procedure

My take on stored procedures advantages, and the best one of all: execution plan retention and reuse, since the rest can be had without them.

Read More
A circular tray of recent memory records with one red alert card beside a shrinking stack of memory blocks

Low Memory Signals in the Resource Monitor Ring Buffer

April 12, 2007
Pinal Dave
SQL Performance
SQL Cache, SQL DMV, SQL Memory, SQL Server

Read the resource monitor ring buffer alongside Windows and process memory signals to investigate cache shrinkage in SQL Server.

Read More
SQL SERVER - 2005 - Explanation of TRY...CATCH and ERROR Handling

SQL SERVER – 2005 – Explanation of TRY…CATCH and ERROR Handling

April 11, 2007
Pinal Dave
SQL Performance
SQL Error Messages, SQL Scripts, SQL Server Security

SQL Server 2005 brings TRY…CATCH for error handling, so you no longer check @@ERROR after every statement. Here is how the TRY and CATCH blocks work.

Read More
SQL SERVER - SP Performance Improvement without changing T-SQL

SQL SERVER – SP Performance Improvement without changing T-SQL

April 10, 2007
Pinal Dave
SQL Performance
SQL Stored Procedure

Two easy ways to improve SP performance without changing T-SQL: do not prefix stored procedures with sp_, and call them by the fully qualified dbo name.

Read More
SQL SERVER - Search Text Field - CHARINDEX vs PATINDEX

SQL SERVER – Search Text Field – CHARINDEX vs PATINDEX

April 8, 2007
Pinal Dave
SQL Performance
SQL Function, SQL Scripts, SQL Server, SQL Server Security, SQL Utility

CHARINDEX and PATINDEX both return the start position of a pattern in a text field. PATINDEX allows wildcards, CHARINDEX does not. Examples use AdventureWorks.

Read More
SQL SERVER - Performance Optimization of SQL Query and FileGroups

SQL SERVER – Performance Optimization of SQL Query and FileGroups

April 5, 2007
Pinal Dave
SQL Performance
Best Practices, SQL Download, SQL Index

My tips on transaction log placement, FileGroups for tables and non-clustered indexes, database size and autogrow settings for better SQL Server performance.

Read More
Previous 1 … 121 122 123 124 125 126 127 Next
  • Books
  • Testimonials
  • Privacy Policy

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