Answers for "CockroachDB create user"

SQL
0

CockroachDB create user

#Create User
CREATE USER <CREATEDUSER> WITH PASSWORD '<PASSWORD>';

#Grants Permission for database or table
GRANT SELECT, INSERT, UPDATE, DELETE ON DATABASE <DATABASENAME> TO <CREATEDUSER>;

#Revoke access from database or table
REVOKE SELECT ON DATABASE <DATABASENAME> FROM <USER_OR_ROLE>;
Posted by: Guest on October-04-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language