GRANT

From wikieduonline
Revision as of 08:40, 7 December 2021 by Welcome (talk | contribs) (→‎See also)
Jump to navigation Jump to search

Example:

GRANT your_defined_role TO your_username;
GRANT ROLE
SELECT * FROM your_table_name;
ERROR: permission denied for table your_table_name
GRANT SELECT ON mytable TO xxx
  • List roles: \du

Related terms

See also

  • https://dba.stackexchange.com/a/184339
  • Advertising: