lava-oushudb-dt-sql-parser/test/parser/impala/syntax/fixtures/truncate_table.sql

10 lines
280 B
MySQL
Raw Normal View History

-- TRUNCATE [TABLE] [IF EXISTS] [db_name.]table_name
TRUNCATE my_table;
TRUNCATE my_db.my_table;
TRUNCATE TABLE my_table;
TRUNCATE IF EXISTS my_db.my_table;
TRUNCATE TABLE IF EXISTS my_db.my_table;
-- example
TRUNCATE TABLE truncate_demo;
TRUNCATE TABLE IF EXISTS staging_table2;