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 - 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 - Fix: Server: Msg 7391, Level 16, State 1, Line 1

SQL SERVER – Fix: Server: Msg 7391, Level 16, State 1, Line 1

April 6, 2007
Pinal Dave
SQL Tips and Tricks
DBA, SQL Download, SQL Error Messages, SQL Server DBCC, SQL Server Security

Msg 7391 has no single fix. I list the causes I have hit on my servers, from distributed transactions on linked servers to DTC firewall settings, to try one by one.

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
Two identical plain brass discs lying overlapped on a dark oiled steel bench

SQL SERVER – Fix : Error 8101 An explicit value for the identity column in table can only be specified when a column list is used and IDENTITY_INSERT is ON

March 28, 2007
Pinal Dave
SQL Tips and Tricks
SQL Download, SQL Error Messages, SQL Scripts, SQL Server, SQL Server Security

Error 8101 means you gave a value for an identity column. What IDENTITY_INSERT does, why there are two different errors, and why TRY CATCH misses it.

Read More
SQL SERVER - Fix : Error 701 There is insufficient system memory to run this query

SQL SERVER – Fix : Error 701 There is insufficient system memory to run this query

March 27, 2007
Pinal Dave
SQL Performance
SQL Download, SQL Error Messages, SQL Scripts, SQL Server DBCC, SQL Server Security, SQL Stored Procedure

For Error 701, insufficient system memory, compare max server memory with min server memory, check the paging file size, and free caches with DBCC commands.

Read More
A gouache ceramic workshop separates wet ceramic pieces in a basin from dry pattern molds in a fitted wooden rack.

SQL SERVER – Stored Procedure – Clean Cache and Clean Buffer

March 23, 2007
Pinal Dave
SQL Performance
SQL Scripts, SQL Server, SQL Server DBCC, SQL Server Security, SQL Stored Procedure, SQL Utility

Clean Cache commands affect different parts of SQL Server memory. I separate buffer-pool testing from execution-plan testing.

Read More
Previous 1 … 52 53 54 55 56 57 Next
  • Books
  • Testimonials
  • Privacy Policy

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