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
Short folded linen strips and discarded offcuts sit beside a larger empty wicker basket

Silent Truncation When Building Strings in nvarchar(max) Variables

April 14, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Performance, SQL Server

Silent truncation can happen while SQL Server evaluates a bounded expression. These examples compare the lost characters with a max expression and a max REPLICATE input. Check stored lengths before blaming a clipped display.

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 - 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
Three glass fishing floats in rope nets hanging from three of four wooden pegs, the last peg left empty.

CHOOSE: Handle Indexes Outside the List

April 7, 2007
Pinal Dave
SQL Tips and Tricks
SQL CASE, SQL Function, SQL Server

CHOOSE returns an item from a positional list. Check unsupported indexes and compare a consistently typed CASE expression with an explicit fallback.

Read More
Sql server network configuration.

SQL SERVER – Fix: HResult 0x274D, SQLCMD Level 16, State 1 Error: Microsoft SQL Native Client : Login timeout expired

April 4, 2007
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server, SQL Server Security, sqlcmd

SQLCMD error HResult 0x274D, Microsoft SQL Native Client: Login timeout expired? TCP/IP is off by default in SQL Server 2005; enable it in Configuration Manager.

Read More
An overflowing storage cart stands beside a cramped alcove, with a spacious sunlit destination visible through the doorway.

SQL SERVER – TempDB is Full. Move TempDB from one drive to another drive.

April 1, 2007
Pinal Dave
SQL Tips and Tricks
SQL Backup and Restore, SQL Data Storage, SQL Error Messages, SQL Scripts, SQL Server, SQL Server Security, SQL Stored Procedure, SQL TempDB

When TempDB is Full, I investigate capacity and usage before moving its files. A move requires a planned restart.

Read More
A library card drawer pulled fully out with a single card standing up in it, photographed beside the end of a long shelf of books.

SQL SERVER – Index Seek Vs. Index Scan (Table Scan)

March 30, 2007
Pinal Dave
SQL Performance
SQL Index, SQL Joins, SQL Scripts, SQL Server

Index Scan retrieves all the rows from the table. Index Seek retrieves selective rows from the table.

Read More
Previous 1 … 450 451 452 453 454 455 Next
  • Books
  • Testimonials
  • Privacy Policy

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