Update Optimize SQL

This commit is contained in:
sunkaixuan 2023-03-19 23:28:12 +08:00
parent 80b681eace
commit cc720d369f

View File

@ -30,7 +30,7 @@ namespace SqlSugar
{
return @"SELECT
table_name name,
(select COMMENTS from user_tab_comments where t.table_name=table_name ) as Description
(select TOP 1 COMMENTS from user_tab_comments where t.table_name=table_name ) as Description
from user_tables t where
table_name!='HELP'
AND table_name NOT LIKE '%$%'