Q

Finding the latest altered date of a stored procedure

SQL Server expert Greg Low explains how to find the latest altered date of a stored procedure.

How can I find the latest altered date of a stored procedure?
On SQL Server 2000, this value isn't stored. You will see a column in the INFORMATION_SCHEMA.ROUTINES view that suggests that it's what you want but unfortunately, it always returns the creation date instead ie: the CREATED and LAST_ALTERED columns both always return the same value.

View questions and answers from all of our SQL Server experts here.

This was first published in March 2006

Dig deeper on SQL Server Stored Procedures

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchBusinessAnalytics

SearchDataCenter

SearchDataManagement

SearchAWS

SearchOracle

SearchContentManagement

SearchWindowsServer

Close