一个取名字的方法,user_col_comments 保存本系统所有列的注释,大家新入手一个系统时,最好遵照该系统定义列明的规则,我们定义列明时,先去系统里查一下,有没有类似的列明
select COLUMN_NAME ,comments,count(*) from user_col_comments a where a.comments like '%工单%' group by COLUMN_NAME ,comments order by 3 desc;
查找存储过程方法
SELECT NAME
FROM user_source
WHERE type='PROCEDURE' AND text like '%存储过程内容区分大小写%'
ORDER BY line;