【发布时间】:2019-01-10 16:18:48
【问题描述】:
我正在使用此查询来显示 h2 中架构中的表,但它不起作用
enter image description here
【问题讨论】:
-
不要以为可以在节目查询中添加 where 子句。
我正在使用此查询来显示 h2 中架构中的表,但它不起作用
enter image description here
【问题讨论】:
SHOW 命令没有实现复杂的过滤条件。但是,您可以运行一个简单的SELECT 来获取您的表格:
select table_name
from information_schema.tables
where table_schema = 'PUBLIC' -- your schema
and table_type = 'TABLE'
and table_name like '%RU%' -- your custom filtering condition
【讨论】: