SELECT c.name,c.user_type_id,t.name
FROM sys.[columns] AS c INNER JOIN sys.types AS t ON t.user_type_id=c.user_type_id
查询xtype对应的类型名称 做orm用到 记录一下
SELECT c.name,c.user_type_id,t.name
FROM sys.[columns] AS c INNER JOIN sys.types AS t ON t.user_type_id=c.user_type_id
查询xtype对应的类型名称 做orm用到 记录一下