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 - System procedures to know SQL Server Version

SQL SERVER – System procedures to know SQL Server Version

March 28, 2015
Pinal Dave
SQL Tips and Tricks
SQL Extended Events, SQL Stored Procedure

There are many ways to know SQL Server version, but did you know two system procedures, sp_server_info and xp_msver, also return it?

Read More
SQL SERVER - What are the Different Ways to Script Procedure with T-SQL

SQL SERVER – What are the Different Ways to Script Procedure with T-SQL

February 7, 2015
Pinal Dave
SQL Tips and Tricks
SQL Stored Procedure

What are the different ways to script procedure code with T-SQL? There are four, including sp_helptext and INFORMATION_SCHEMA.ROUTINES. Here is each one.

Read More
An old chair with one new leg being glued in, held by a red clamp

Refactoring Old T-SQL One Procedure at a Time

January 1, 2015
Pinal Dave
SQL Tips and Tricks
SQL Coding Standards, SQL Server, SQL Stored Procedure, Testing

Begin refactoring old T-SQL with one procedure, repeatable inputs, duplicate-aware result checks, measured reads, and a simple change log.

Read More
Counters selection window in SQL Server Management Studio.

SQL SERVER – How to use Procedure sp_user_counter1 to sp_user_counter10

November 22, 2014
Pinal Dave
SQL Performance
SQL Stored Procedure

Want to plot your own values, like rows in a table, next to standard PerfMon counters? The procedures sp_user_counter1 to sp_user_counter10 do just that.

Read More
An assembled sausage stuffer performs one focused operation beside loose mixing utensils

Natively Compiled Procedures: ATOMIC Blocks and T-SQL Limits

June 25, 2014
Pinal Dave
SQL Tips and Tricks
In-Memory OLTP, SQL Stored Procedure, SQL Transactions

Native procedures check every statement when you create them. Build a tiny one and see which habits it will not accept.

Read More
A derailleur seats a chain on one sprocket while a loose chain has no defined engagement

Unambiguous Date Literals: When 2026-04-03 Becomes March 4

May 5, 2014
Pinal Dave
SQL Tips and Tricks
SQL Datatype, SQL DateTime, SQL Stored Procedure

A dashed date can change its mind with one session setting. Here is how to write dates that never do.

Read More
MySQL - How to Create Stored Procedure in MySQL

MySQL – How to Create Stored Procedure in MySQL

May 2, 2014
Pinal Dave
SQL Tips and Tricks
MySQL, SQL Stored Procedure

MySQL supports stored procedures for your business logic. Here is how to create a stored procedure in MySQL and execute it, with a simple sales example.

Read More
Previous 1 … 11 12 13 14 15 16 17 … 35 Next
  • Books
  • Testimonials
  • Privacy Policy

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