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 - Encrypted Stored Procedure and Activity Monitor

SQL SERVER – Encrypted Stored Procedure and Activity Monitor

October 10, 2010
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Stored Procedure

Can you see the definition of an encrypted stored procedure in Activity Monitor? The answer is No. Here is a quick test that proves it.

Read More
SQL SERVER – Get Numeric Value From Alpha Numeric String – Get Numbers Only

SQL SERVER – Get Numeric Value From Alpha Numeric String – Get Numbers Only

September 25, 2010
Pinal Dave
SQL Tips and Tricks
SQL Function, SQL Scripts, SQL Stored Procedure, SQL String

Reader Christofer improved my logic to get a numeric value from alpha numeric string data. His stored procedure uses REVERSE and PATINDEX.

Read More
A crate of blue ceramic bowls, a separate sample bowl and a clay inspection token.

Return Codes: Keep Procedure Status Separate From Data

August 30, 2010
Pinal Dave
SQL Tips and Tricks
SQL Error Messages, SQL Scripts, SQL Stored Procedure

Return codes carry procedure status separately from application values. This private demonstration compares result sets, captured output and omitted OUTPUT. It also separates an optional no-work request from a genuine raised error.

Read More
SQL SERVER - Check Advanced Server Configuration

SQL SERVER – Check Advanced Server Configuration

July 29, 2010
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Server Configuration, SQL Stored Procedure

How do you Check Advanced Server Configuration values? Turn on show advanced options with sp_configure, run RECONFIGURE, then run sp_configure to list them.

Read More
Critical error.

SQL SERVER – TRANSACTION, DML and Schema Locks

June 21, 2010
Pinal Dave
SQL Interview Questions and Answers
SQL Scripts, SQL Stored Procedure, SQL Transactions

Most candidates in a senior developer interview could not create a scenario that shows schema locks. Here is a simple demo with a TRANSACTION and DML.

Read More
SQL SERVER - Stored Procedure and Transactions

SQL SERVER – Stored Procedure and Transactions

June 2, 2010
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure

Is a stored procedure transactional by itself? No. A simple example with three tables shows why stored procedure and transactions are separate things.

Read More
SQL SERVER - Recompile Stored Procedure at Run Time

SQL SERVER – Recompile Stored Procedure at Run Time

February 20, 2010
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Stored Procedure

Two ways to recompile a stored procedure at run time in SQL Server: add WITH RECOMPILE when you create it, or ask for a one-time recompile.

Read More
Previous 1 … 17 18 19 20 21 22 23 … 35 Next
  • Books
  • Testimonials
  • Privacy Policy

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