DROP POLICY statement removes an existing policy from a table.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
DROP POLICY statement removes an existing policy from a table.
DROP POLICY [ IF EXISTS ] policy_name ON table_name [ CASCADE | RESTRICT ];
| Parameter | Description |
|---|---|
policy_name | Unique identifier for the policy on the table. |
table_name | The table to which the policy applies. |
IF EXISTS | Suppresses an error if the policy doesn’t exist. |
CASCADE, RESTRICT | Standard dependency handling (not relevant for policies themselves). |
DROP POLICY IF EXISTS your_policy ON orders;
