Created
July 24, 2018 01:21
-
-
Save NCarson/0a722b10889d078bb8e69087f0d9727f to your computer and use it in GitHub Desktop.
show what tables a user has access to
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT table_catalog, table_schema, table_name, privilege_type | |
FROM information_schema.table_privileges | |
WHERE grantee = 'MY_USER' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment