dbadmin=> CREATE TABLE test (c INT);
CREATE TABLE
dbadmin=> CREATE ACCESS POLICY ON test
dbadmin-> FOR COLUMN c
dbadmin-> CASE WHEN c = 1 THEN c ELSE NULL END
dbadmin-> ENABLE;
CREATE ACCESS POLICY
dbadmin=> DROP ACCESS POLICY ON test FOR COLUMN c;
DROP ACCESS POLICY
Comments
Use DROP ACCESS POLICY...
See:
https://www.vertica.com/docs/9.1.x/HTML/index.htm#Authoring/SQLReferenceManual/Statements/DROPACCESSPOLICY.htm
Example:
Awesome thanks for your help