mirror of
https://github.com/dbgate/dbgate
synced 2024-11-08 04:35:58 +00:00
6 lines
243 B
SQL
6 lines
243 B
SQL
select
|
|
TABLE_NAME as pureName,
|
|
case when ENGINE='InnoDB' then CREATE_TIME else coalesce(UPDATE_TIME, CREATE_TIME) end as alterTime
|
|
from information_schema.tables
|
|
where TABLE_SCHEMA = '#DATABASE#' and TABLE_NAME =[OBJECT_NAME_CONDITION];
|