how to get list of tables, functions and stored procedure created last month in sql server
SELECT
[name]
,create_date
,modify_date
FROM
sys.tables where create_date >='03/01/2015'
SELECT * FROM sys.procedures WHERE create_date >='03/01/2015'
SELECT *
FROM sys.objects
WHERE type IN ('FN', 'IF', 'TF') -- scalar, inline table-valued, table-valued
[name]
,create_date
,modify_date
FROM
sys.tables where create_date >='03/01/2015'
SELECT * FROM sys.procedures WHERE create_date >='03/01/2015'
SELECT *
FROM sys.objects
WHERE type IN ('FN', 'IF', 'TF') -- scalar, inline table-valued, table-valued
Comments
Post a Comment