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:

Hints are valid only for sharded tables.