-- Collection of code snippets by Arne Vajhøj 
-- (likely posted to comp.os.vms/INFO-VAX, INFO-TPU, MACRO32, eksperten.dk, newz.dk, LinkedIn or other place sometime between 1990 and now) 
GRANT SELECT ON test.t1 TO 'dennis'@'%' IDENTIFIED BY 'hemmeligt';
SHOW GRANTS FOR 'dennis'@'%';
REVOKE ALL PRIVILEGES ON test.t1 FROM 'dennis'@'%';
SHOW GRANTS FOR 'dennis'@'%';
DROP USER 'dennis'@'%';
SHOW GRANTS FOR 'dennis'@'%';
