的創建日期,我發現一個腳本來獲取列信息:獲取表的列
SELECT
crdate as thisFieldIsNotTheCreationOfTheField1 ,
refdate as thisFieldIsNotTheCreationOfTheField2 ,
o.name AS [TableName],
o.type,
c.name AS [ColName],
s.name AS [ColType],
c.prec,
c.scale,
c.isnullable
FROM
dbo.sysobjects AS o
INNER JOIN
dbo.syscolumns AS c ON c.id = o.id
INNER JOIN
dbo.systypes AS s ON c.xtype = s.xtype
WHERE
o.type = 'U' and o.name='TableNa'
ORDER BY
crdate
列創建日期時間是找不到的。
這怎麼辦?
的[查找日期/時間創建一個表的列(可能的複製https://stackoverflow.com/questions/1425487/find-the-date- time-a-tables-column-was-created) – Vadzim