I'm trying to grant privileges for file formats in an automated way, I just need to basic structure in how to do so. Based on the research I've done so far I think it should look like this:
GRANT ALL PRIVILEGES ON myformat IN mydb.myschema TO myrole;
But I'm getting an error. Any help would be appreciated.
Error : "SQL compilation error: syntax error line 1 at position 34 unexpected 'in'."
thanks