forked from docs/doc-exports
Reviewed-by: Wagner, Fabian <fabian.wagner@t-systems.com> Co-authored-by: Ru, Li Yi <liyiru7@huawei.com> Co-committed-by: Ru, Li Yi <liyiru7@huawei.com>
2.0 KiB
2.0 KiB
HINT-TABLE
HINTs are instructions within a SQL statement that tell the optimizer to execute the statement in a flexible way. This section describes how to use HINT syntax to delete data from a table.
Command Format:
/*+table=<physical_table_name>*/ TRUNCATE TABLE <table_name>
Description:
Deleting data in physical table <physical_table_name> in the current database shard does not affect other physical tables.
Example output before the table is deleted:
Example output after the table is deleted:
Parent topic: TRUNCATE TABLE