Ask the Expert

Finding the latest altered date of a stored procedure

How can I find the latest altered date of a stored procedure?

    Requires Free Membership to View

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

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

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: