Only Extended Parallel Server supports this statement, which is an extension to the ANSI/ISO standard for SQL.
>>-DROP DUPLICATE OF TABLE--+-----------+--table--------------->< '- owner--.-'
Element | Description | Restrictions | Syntax |
---|---|---|---|
owner | Owner of the duplicate table | Must own the duplicate table | Owner Name |
table | Name of the table for which you want to remove all duplicates | Must exist and must be a duplicated table | Identifier |
To drop all duplicate copies of a duplicated table and leave only the original table, enter the DROP DUPLICATE statement. Because duplicate tables are read-only, to update a duplicated table, you must first drop all duplicate copies.
Attached indexes on the copies of the duplicate table are also dropped when DROP DUPLICATE is successfully executed.