Search
 
SCRIPT & CODE EXAMPLE
 

SQL

grant sql

GRANT privilege_name
ON object_name
TO {user_name |PUBLIC |role_name}
[WITH GRANT OPTION];

privilege_name is the access right or privilege granted to the user. Some of the access rights are ALL, EXECUTE, and SELECT.
object_name is the name of an database object like TABLE, VIEW, STORED PROC and SEQUENCE.
user_name is the name of the user to whom an access right is being granted.
user_name is the name of the user to whom an access right is being granted.
PUBLIC is used to grant access rights to all users.
ROLES are a set of privileges grouped together.
WITH GRANT OPTION - allows a user to grant access rights to other users.
Comment

grant sql

For example, suppose user JONES needs to use the Change mode 
of the Table Editor for a table called ORDER_BACKLOG. 
To grant JONES the UPDATE privilege on the ORDER_BACKLOG table, 
issue the following statement:

GRANT UPDATE ON ORDER_BACKLOG TO JONES WITH GRANT OPTION
Comment

sql grant

--GRANT
--	{privilege_name}
--ON
--	{object_name}
--TO
--	{user_name |PUBLIC |role_name}
--[WITH GRANT OPTION]
  
  
  privilege_name is the access right or privilege granted to the user.
  object_name is the name of an database object like TABLE, VIEW, STORED PROC and SEQUENCE.
  user_name is the name of the user to whom an access right is being granted.
  PUBLIC is used to grant access rights to all users.
  role_name are a set of privileges grouped together.
  WITH GRANT OPTION - allows a user to grant access rights to other users.
  
  Ex.
  GRANT SELECT ON table1 TO user1;
Comment

PREVIOUS NEXT
Code Example
Sql :: sql change primary key to composite key 
Sql :: not null sql 
Sql :: SQL SMALLDATETIME Data Type 
Sql :: SQL Addition Operator 
Sql :: t sql return on letters only 
Sql :: sql ssrs 
Sql :: install mssql on ubuntu 
Sql :: how to output a different column name in mysql 
Sql :: postgres ERROR: relation "user" does not exist 
Sql :: xampp reset mysql 
Sql :: selecting all columns from table sql database 
Sql :: sql composite primary key 
Sql :: like in sql 
Sql :: mysqlimport 
Sql :: Why mysql is used? 
Sql :: ORA-06502: PL/SQL: numeric or value error: character string buffer too small 
Sql :: SQL FROM-Klausel 
Sql :: jsonb 
Sql :: sql Top 5 sutradara dengan filem terbanyak 
Sql :: mssql xml 
Sql :: decode plsql 
Sql :: sql on-premises 
Sql :: mysqlimport: Error: 4166 
Sql :: where in clause tsql 
Sql :: SQlite script 
Sql :: sql eomonth(getdate) 
Sql :: oracle dbms scheduler repeat interval every 5 minutes 
Sql :: how to get node value of xml in sql server 
Sql :: knex sqlite 
Sql :: mysql workbench copy table structure 
ADD CONTENT
Topic
Content
Source link
Name
8+9 =