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 - 2005 - Find Highest / Most Used Stored Procedure

SQL SERVER – 2005 – Find Highest / Most Used Stored Procedure

March 22, 2008
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure, SQL System Table

Which stored procedure runs most often? My small SQL Server 2005 script finds the most used stored procedure, with execution count, worker time and calls per second.

Read More
A pressure cooker on a stove releasing a thin plume of steam from its safety valve, a hand resting nearby

Porting Stored Procedures Between Platforms

March 17, 2008
Pinal Dave
SQL Tips and Tricks
SQL Migration, SQL Server, SQL Stored Procedure, Temp Table

Porting stored procedures means preserving error, transaction, temporary-table, sequence, and date behavior instead of translating tokens.

Read More
A covered table saw in a wood shop, with a short plank and a plain hand saw ready on the bench in front of it.

SSIS or T-SQL for a Simple Load

January 28, 2008
Pinal Dave
SQL Tips and Tricks
ETL, SQL Server, SQL Server Agent, SQL Stored Procedure, SSIS

SSIS or T-SQL for a simple load depends on sources, transformations, logging, and operations; learn when a stored procedure is enough.

Read More
Two hands hold a bicycle inner tube under water in an enamel basin as a thin stream of bubbles rises from one spot.

Writing Tests for Stored Procedures

December 27, 2007
Pinal Dave
SQL Tips and Tricks
Best Practices, SQL Stored Procedure, SQL Transactions, Testing

Write tests for stored procedures with arrange, act, and assert steps in T-SQL, isolated data, and a repeatable check before every change.

Read More
SQL SERVER - Correct Syntax for Stored Procedure SP

SQL SERVER – Correct Syntax for Stored Procedure SP

November 28, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure

What is the correct syntax for stored procedure code? Anything between BEGIN and END is part of the procedure, and anything after GO is not, as my examples show.

Read More
SQL SERVER - 2005 - List All Stored Procedure in Database

SQL SERVER – 2005 – List All Stored Procedure in Database

November 27, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure

Want to see all stored procedure in database at once? Run SELECT * FROM sys.procedures. This simple query works only with SQL Server 2005.

Read More
SQL SERVER - 2005 2000 - Search String in Stored Procedure

SQL SERVER – 2005 2000 – Search String in Stored Procedure

November 10, 2007
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Stored Procedure

Two scripts to search a string in stored procedure code, one for SQL Server 2000 using syscomments and one for SQL Server 2005, clearly labeled by version.

Read More
Previous 1 … 24 25 26 27 28 29 30 … 35 Next
  • Books
  • Testimonials
  • Privacy Policy

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