'Comment'에 해당되는 글 1건
-
2010.02.17
erwin 에서 mssql comment 설정
%ForEachTable()
{
exec sp_addextendedproperty 'MS_Description' , '%EntityName' , 'user' , 'dbo' , 'table' , '%TableName'
go
%ForEachColumn()
{
exec sp_addextendedproperty 'MS_Description' , '%AttName' , 'user' , 'dbo' , 'table' , '%TableName' , 'column' , '%ColName'
go
}
}
Posted by [czar]