Search
 
SCRIPT & CODE EXAMPLE
 

SQL

Sql creating roles

#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;
Comment

PREVIOUS NEXT
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 
ADD CONTENT
Topic
Content
Source link
Name
2+9 =