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 - Is XP_CMDSHELL Enabled on the Server?

SQL SERVER – Is XP_CMDSHELL Enabled on the Server?

April 13, 2015
Pinal Dave
SQL Tips and Tricks
SQL Scripts, SQL Server, SQL Stored Procedure

Is XP_CMDSHELL enabled on your server? I recommend avoiding it for security. Here are two ways to check and turn it off, starting with T-SQL.

Read More
A hand-cranked pasta roller turns one sheet into repeatable strips

Interview Question of the Week #013 – Stored Procedure and Its Advantages – How to Create Stored Procedure

March 29, 2015
Pinal Dave
SQL Interview Questions and Answers
SQL Stored Procedure

Learn how to create stored procedure code with parameters and NOCOUNT, then review security, plan reuse, and parameter-sensitive plans.

Read More
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
Previous 1 … 11 12 13 14 15 16 17 … 36 Next
  • Books
  • Testimonials
  • Privacy Policy

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