如何将oracle语句 : SELECT
t.TABLE_NAME AS name,
c.COMMENTS AS comments
FROM user_tables t, user_tab_comments c
WHERE t.table_name = c.table_name
<if test="name != null and name != ''">
AND t.TABLE_NAME = upper(#{name})
</if>
ORDER BY t.TABLE_NAME
改为sqlserver语句
------解决思路----------------------
是不是要取所有表的说明?
select o.name , p.value
from sys.extended_properties p , sysobjects o
where p.major_id = o.id
and p.minor_id = 0
and o.xtype = 'U'