mirror of
https://gitee.com/dotnetchina/SqlSugar.git
synced 2026-01-28 11:11:32 +08:00
Update 达梦
This commit is contained in:
@@ -29,17 +29,16 @@ namespace SqlSugar
|
|||||||
{
|
{
|
||||||
get
|
get
|
||||||
{
|
{
|
||||||
return @"SELECT
|
return @"SELECT a.TABLE_NAME AS Name,b.COMMENTS AS Description
|
||||||
table_name name,
|
FROM USER_TABLES a
|
||||||
(select TOP 1 COMMENTS from user_tab_comments where t.table_name=table_name ) as Description
|
LEFT JOIN (SELECT DISTINCT TABLE_NAME,COMMENTS FROM USER_TAB_COMMENTS WHERE COMMENTS IS NOT NULL) b ON a.TABLE_NAME=b.TABLE_NAME
|
||||||
from user_tables t where
|
WHERE
|
||||||
table_name!='HELP'
|
a.table_name!='HELP'
|
||||||
AND table_name NOT LIKE '%$%'
|
AND a.table_name NOT LIKE '%$%'
|
||||||
AND table_name NOT LIKE 'LOGMNRC_%'
|
AND a.table_name NOT LIKE 'LOGMNRC_%'
|
||||||
AND table_name!='LOGMNRP_CTAS_PART_MAP'
|
AND a.table_name!='LOGMNRP_CTAS_PART_MAP'
|
||||||
AND table_name!='LOGMNR_LOGMNR_BUILDLOG'
|
AND a.table_name!='LOGMNR_LOGMNR_BUILDLOG'
|
||||||
AND table_name!='SQLPLUS_PRODUCT_PROFILE'
|
AND a.table_name!='SQLPLUS_PRODUCT_PROFILE'";
|
||||||
";
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
protected override string GetViewInfoListSql
|
protected override string GetViewInfoListSql
|
||||||
|
|||||||
Reference in New Issue
Block a user