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
Configure and reconfigure options.

SQL SERVER – Enable xp_cmdshell using sp_configure

April 26, 2007
Pinal Dave
SQL Tips and Tricks
PowerShell, SQL Scripts, SQL Server, SQL Server Configuration, SQL Server Security, SQL Stored Procedure, SQL Utility

Enable xp_cmdshell with sp_configure: turn on show advanced options, set xp_cmdshell to 1 and run RECONFIGURE. The full script is ready to run in SSMS.

Read More
SQL SERVER - 2005 - DBCC ROWLOCK - Deprecated

SQL SERVER – 2005 – DBCC ROWLOCK – Deprecated

April 26, 2007
Pinal Dave
SQL Tips and Tricks
SQL Deprecated Feature, SQL Server DBCC

Many people search for DBCC ROWLOCK in SQL Server 2005. It is deprecated, since row locking is on automatically. I also link the list of discontinued features.

Read More
A brass hourglass on a workbench with the sand fully run out, standing beside a padlocked cabinet door.

SQL SERVER – Alternate Fix : ERROR 1222 : Lock request time out period exceeded

April 25, 2007
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Lock, SQL Server, SQL Server Security

ERROR 1222: Lock request time out period exceeded. Find the blocking transaction with DMVs, and what to change when you are not allowed to kill it.

Read More
SQL SERVER - ERROR Messages - sysmessages error severity level

SQL SERVER – ERROR Messages – sysmessages error severity level

April 25, 2007
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Server Security

SQL Server ERROR Messages explained: each has a number, a severity level and a state from 1 to 127, and all of them are stored in the sysmessages system table.

Read More
SQL SERVER - 2005 Take Off Line or Detach Database

SQL SERVER – 2005 Take Off Line or Detach Database

April 25, 2007
Pinal Dave
SQL Performance
SQL Scripts

To take off line a database in SQL Server 2005, use ALTER DATABASE SET OFFLINE with ROLLBACK AFTER 30 SECONDS or ROLLBACK IMMEDIATE instead of sp_dboption.

Read More
SQL SERVER - TRIM() Function - UDF TRIM()

SQL SERVER – TRIM() Function – UDF TRIM()

April 24, 2007
Pinal Dave
SQL Performance
SQL Function, SQL Scripts

SQL Server 2005 has LTRIM() and RTRIM() but no TRIM() function, so I wrote a simple UDF for SQL Server 2000 and 2005 that trims both sides. Video included.

Read More
SQL SERVER - Six Properties of Relational Tables

SQL SERVER – Six Properties of Relational Tables

April 24, 2007
Pinal Dave
SQL Tips and Tricks

The six properties of relational tables explained: atomic values, values of the same kind, unique rows and more, with the benefit of each one.

Read More
Previous 1 … 824 825 826 827 828 829 830 … 839 Next
  • Books
  • Testimonials
  • Privacy Policy

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