の作成日を取得します。私は、カラム情報を取得するスクリプトを見つけました:テーブルの列
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
列の作成日時が発見されていません。
どうすればいいですか?
SELECT obj.create_date
from sys.objects obj
inner join sys.columns col on obj.object_Id=col.object_Id
WHERE col.name = @columnName
and [email protected]
[テーブルの列が作成された日付/時刻検索](の
可能な重複https://stackoverflow.com/questions/1425487/find-the-date-: – Vadzim