dbTalk Databases Forums  

SPL Creation/Modified Date?

comp.databases.informix comp.databases.informix


Discuss SPL Creation/Modified Date? in the comp.databases.informix forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
pretzel
 
Posts: n/a

Default SPL Creation/Modified Date? - 11-08-2011 , 02:27 PM






My boss just told me he wants to know the most recent modified date
for each stored procedure in our database. I have to admit: 1) I was
never asked that before; 2) I don't know how to find that information.

My first thought was to use the plan date in sysprocplan, but that
doesn't work because we regularly Update Stats.

How can I find the most recently modified date for each SPL?

Thank you.

DG

Reply With Quote
  #2  
Old   
Art Kagel
 
Posts: n/a

Default Re: SPL Creation/Modified Date? - 11-08-2011 , 02:54 PM






Unless you had auditing turned on when you created and updated your
procedures and functions, you cannot do it. Your stored procedure source
code should be in a source control system just like all of your other code
is! There you would have your change history and dates.

Art

Art S. Kagel
Advanced DataTools (www.advancedatatools.com)
Blog: http://informix-myview.blogspot.com/

Disclaimer: Please keep in mind that my own opinions are my own opinions
and do not reflect on my employer, Advanced DataTools, the IIUG, nor any
other organization with which I am associated either explicitly,
implicitly, or by inference. Neither do those opinions reflect those of
other individuals affiliated with any entity with which I am affiliated nor
those of the entities themselves.



On Tue, Nov 8, 2011 at 3:27 PM, pretzel <davidegrove (AT) gmail (DOT) com> wrote:

Quote:
My boss just told me he wants to know the most recent modified date
for each stored procedure in our database. I have to admit: 1) I was
never asked that before; 2) I don't know how to find that information.

My first thought was to use the plan date in sysprocplan, but that
doesn't work because we regularly Update Stats.

How can I find the most recently modified date for each SPL?

Thank you.

DG
_______________________________________________
Informix-list mailing list
Informix-list (AT) iiug (DOT) org
http://www.iiug.org/mailman/listinfo/informix-list

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.