mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
6 lines
352 B
SQL
6 lines
352 B
SQL
set log_formatted_queries = 1;
|
|
|
|
select '02005_log_formatted_queries.sql' from system.one;
|
|
system flush logs;
|
|
select query, formatted_query from system.query_log where current_database = currentDatabase() and query = 'select \'02005_log_formatted_queries.sql\' from system.one;' and event_date >= yesterday() and event_time > now() - interval 5 minute;
|