有人遇到这个问题,求解答,非常感谢!
【DM版本】: DM8
【操作系统】:WIN
【CPU】:16
【问题描述】:
SELECT COUNT() FROM (select table_name, table_comment, create_time, update_time from information_schema.tables where table_schema = (select database()) AND table_name NOT LIKE ‘xxl_job_%’ AND table_name NOT LIKE ‘gen_%’ AND table_name NOT IN (select table_name from gen_table) order by create_time desc) TOTAL
无效的模式名[INFORMATION_SCHEMA]
all_tab_columns可以试试这个表
达梦有替代的解决方案吗?
怎么解决啊兄弟,我也需要同样的问题
user_tables是所有的表
WHERE TABLE_NAME = XXX 是根据表名查找
information_schema.tables 这是mysql的东西,达梦里面并没有这个模式,也没有tables这个系统表,建议根据实际需求按照达梦的语句来改写sql