MS SQL Compiling a Stored Procedure With a Requery

The following query model is run to recompile the stored procedure in MS SQL with the query.

EXEC sp_recompile '{Our SP Name}'

Here is an example of usage..

EXEC sp_recompile 'SP_UPDATE_CONTACTS'


You May Interest

Changing MS SQL Database Name with Query

Getting Rows in a Table in Random Order in MS SQL

Finding Server Default Language in MS SQL

Creating a View in MS SQL

What is Extensible Key Management in SQL Server ?