--表
select * from dbo.sysobjects where OBJECTPROPERTY(id, N'IsUserTable') = 1 and refdate>'2006-05-01'
--视图
select * from dbo.sysobjects where OBJECTPROPERTY(id, N'IsView') = 1 and refdate>'2006-05-01'
--存储过程
select * from dbo.sysobjects where OBJECTPROPERTY(id, N'IsProcedure') = 1 and refdate>'2006-05-01
当然也可以查找自定义函数等
select * from dbo.sysobjects where OBJECTPROPERTY(id, N'IsUserTable') = 1 and refdate>'2006-05-01'
--视图
select * from dbo.sysobjects where OBJECTPROPERTY(id, N'IsView') = 1 and refdate>'2006-05-01'
--存储过程
select * from dbo.sysobjects where OBJECTPROPERTY(id, N'IsProcedure') = 1 and refdate>'2006-05-01
当然也可以查找自定义函数等