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
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
A stick insect hidden among twigs in a hedge, given away only by its thin red legs

Auditing Who Holds CONTROL SERVER and IMPERSONATE Rights

March 21, 2007
Pinal Dave
SQL Tips and Tricks
DBA, SQL Audit, SQL Login, SQL Server Security

Audit CONTROL SERVER and impersonation grants alongside sysadmin and role inheritance, test effective rights, and remove excess access.

Read More
SQL SERVER - Fix: Sqllib error: OLEDB Error encountered calling IDBInitialize::Initialize. hr = 0x80004005. SQLSTATE: 08001, Native Error: 17

SQL SERVER – Fix: Sqllib error: OLEDB Error encountered calling IDBInitialize::Initialize. hr = 0x80004005. SQLSTATE: 08001, Native Error: 17

March 16, 2007
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Server Security, SQL Utility

A Sqllib error with hr = 0x80004005 and Native Error 17 says SQL Server does not exist or access denied. The simple fix is to enable TCP-IP in Configuration Manager.

Read More
A fingertip tracing one dark growth ring on a freshly cut tree stump in a forest clearing

Checking the Update History of an Instance

March 7, 2007
Pinal Dave
SQL Tips and Tricks
DBA, SQL Log, SQL Patch, SQL Server

Reconstruct SQL Server update history from Setup Bootstrap logs, startup error logs, and the current build when no patch ledger exists.

Read More
SQL SERVER - Script to Determine Which Version of SQL Server 2000-2005 is Running

SQL SERVER – Script to Determine Which Version of SQL Server 2000-2005 is Running

March 7, 2007
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts

A quick way to see which version of SQL Server 2000 or 2005 is running: SERVERPROPERTY returns the product version, the product level and the edition.

Read More
SQL SERVER - QUOTED_IDENTIFIER ON/OFF and ANSI_NULL ON/OFF Explanation

SQL SERVER – QUOTED_IDENTIFIER ON/OFF and ANSI_NULL ON/OFF Explanation

March 5, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts

What do SET QUOTED_IDENTIFIER and SET ANSI_NULLS do around every stored procedure you create? A plain explanation of both settings, ON and OFF.

Read More
Five prints pegged on a washing line, four fading away and one kept.

SQL SERVER – Delete Duplicate Records – Rows

March 1, 2007
Pinal Dave
SQL Tips and Tricks
Duplicate Records, SQL Scripts

A short query to delete duplicate records from a table with an identity column: keep the MAX(ID) in each group of duplicate columns and remove the rest.

Read More
Previous 1 … 564 565 566 567 568 569 570 Next
  • Books
  • Testimonials
  • Privacy Policy

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