OBJECT_ID_CONDITION

This commit is contained in:
Jan Prochazka
2021-05-15 18:15:46 +02:00
parent 032eaf9eb0
commit 4a4c4b41c0
7 changed files with 10 additions and 10 deletions

View File

@@ -3,5 +3,5 @@ select
TABLE_NAME as pureName,
case when ENGINE='InnoDB' then CREATE_TIME else coalesce(UPDATE_TIME, CREATE_TIME) end as modifyDate
from information_schema.tables
where TABLE_SCHEMA = '#DATABASE#' and TABLE_TYPE='BASE TABLE' and TABLE_NAME =[OBJECT_NAME_CONDITION];
where TABLE_SCHEMA = '#DATABASE#' and TABLE_TYPE='BASE TABLE' and TABLE_NAME =[OBJECT_ID_CONDITION];
`;