#Create a role
CREATE ROLE role1;
#Grant permissions on table to role
GRANT INSERT, SELECT, DELETE, UPDATE ON table1 TO role1;
#Create user and assign role
CREATE USER Bob;
GRANT role1 TO Bob;
Code Example |
---|
Sql :: |
:: |
:: |
:: |
:: |
:: |
Sql :: |
:: |
Sql :: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
:: |
Sql :: |
:: |
:: sql update table based on another table |
:: wordpress print query sql |
:: |
:: |
:: |
:: mysql delete user if exists |
Sql :: |
Sql :: |
:: |
Sql :: |
Sql :: regex mongoose |