How to find create date or modification date of a function is SQL Server?

How to find create date or modification date of a function is SQL Server?

You can retrieve create dates and modification dates from sys.objects. You can use the following query to retrieve the necessary details:

select * from sys.objects where (type='IF' OR type='TF' or type='FN') and name = '';

Please note that sys.objects does not show DDL triggers, because they are not schema-scoped. All triggers, both DML and DDL, are found in sys.triggers. sys.triggers supports a mixture of name-scoping rules for the various kinds of triggers.


Tags: Microsoft, SQL, Server, Database, Oracle, University, College




Disclaimer:Pak/ed and the contributors are not responsible for any errors contained and are not liable for any damages resulting from the use of this material.  Disclaimer


Related

Home      Disclaimer      Advertise      Contact      Privacy Policy     

Copyright © 2004-16 Paked.com. All rights reserved.

Note: Site best viewed at 1024 x 768 or higher screen resolution