查询数据库创建时间

2022-10-09,,,

可以执行存储过程sp_helpdb查询数据库相关信息:

 

 

execute sp_helpdb 'test'
go

或者查询view视图sys.databases:

 

 

select create_date from sys.databases where name = 'test'
go

 

《查询数据库创建时间.doc》

下载本文的Word格式文档,以方便收藏与打印。