📅  最后修改于: 2022-03-11 15:05:08.179000             🧑  作者: Mango
SELECT object_definition(default_object_id) AS definition
FROM sys.columns
WHERE name ='colname'
AND object_id = object_id('dbo.tablename')