SQL Server 表创建日期查询 [英] SQL Server table creation date query
本文介绍了SQL Server 表创建日期查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何使用 SQL 查询获取 MS SQL 表的表创建日期?
我在物理上看不到任何表,但我可以查询该特定表.
How can I get the table creation date of a MS SQL table using a SQL query?
I could not see any table physically but I can query that particular table.
推荐答案
对于 2005 up,可以使用
For 2005 up, you can use
SELECT
[name]
,create_date
,modify_date
FROM
sys.tables
我认为 2000 年,您需要启用审计.
I think for 2000, you need to have enabled auditing.
这篇关于SQL Server 表创建日期查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文