mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-04-22 02:32:50 +08:00
#882 class=1 只取 对象或列
This commit is contained in:
parent
3b4029658d
commit
9fd1c38802
@ -278,7 +278,7 @@ isnull(e.name,'') + '.' + isnull(d.name,'')
|
|||||||
else cast(a.max_length as varchar) end + ')'
|
else cast(a.max_length as varchar) end + ')'
|
||||||
when b.name in ('numeric', 'decimal') then '(' + cast(a.precision as varchar) + ',' + cast(a.scale as varchar) + ')'
|
when b.name in ('numeric', 'decimal') then '(' + cast(a.precision as varchar) + ',' + cast(a.scale as varchar) + ')'
|
||||||
else '' end as 'sqltype'
|
else '' end as 'sqltype'
|
||||||
,( select value from sys.extended_properties where major_id = a.object_id AND minor_id = a.column_id AND name = 'MS_Description') 'comment'
|
,( select value from sys.extended_properties where major_id = a.object_id AND minor_id = a.column_id AND name = 'MS_Description' and class=1) 'comment'
|
||||||
{0} a
|
{0} a
|
||||||
inner join sys.types b on b.user_type_id = a.user_type_id
|
inner join sys.types b on b.user_type_id = a.user_type_id
|
||||||
left join sys.tables d on d.object_id = a.object_id
|
left join sys.tables d on d.object_id = a.object_id
|
||||||
@ -524,4 +524,4 @@ use [{olddatabase}];
|
|||||||
return new List<DbEnumInfo>();
|
return new List<DbEnumInfo>();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user