DATETIME SELECT SELECT INTO DATE PAD STRING DYNAMIC SQL CURSOR MONEY FORMAT PERCENT STORED PROCEDURE SQL SERVER AGENT JOB OPTIMIZATION WHILE LOOP OVER PARTITION BY UPDATE
 
 
SITE SEARCH SQLUSA.com VIDEOS
 
 
SQL E/BOOKS   WORLD, USA & SQL NEWS   FORMAT
SCRIPTS SQL 2005 SQL 2008 ARTICLES
How to tell when a stored procedure was modified?

Execute the following Microsoft SQL Server T-SQL script in Management Studio Query Editor for finding the last modified date for all stored procedures.
 
-- SQL stored procedure last modified date - SQL datetime to string conversion
USE AdventureWorks2008;
 
SELECT   SchemaName = Schema_name(schema_id),
         SprocName = name,
         CreateDate = left(convert(varchar,create_date, 120),10),
         ModifyDate = left(convert(varchar,modify_date, 120),10)
FROM     sys.objects
WHERE    TYPE = 'P'
         AND is_ms_shipped = 0
ORDER BY SchemaName,
         SprocName
GO
/* Partial results
 
SchemaName        SprocName                     CreateDate  ModifyDate
HumanResources    uspUpdateEmployeeHireInfo     2016-01-11  2016-03-10
HumanResources    uspUpdateEmployeeLogin        2016-01-12  2016-02-16
HumanResources    uspUpdateEmployeePersonalInfo 2016-01-17  2016-06-12

*/

Exam Prep 70-461
SQL 2016 DESIGN & PROGRAMMING
 
 
 
DATETIME SELECT SELECT INTO DATE PAD STRING DYNAMIC SQL CURSOR MONEY FORMAT PERCENT STORED PROCEDURE SQL SERVER AGENT JOB OPTIMIZATION WHILE LOOP OVER PARTITION BY UPDATE