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 :: oracle date winter time 
Sql :: mysql BEFORE UPDATE INSERT 
Sql :: sql "List the contact methods found in the Contact table.For each contact method, list how many people chose that contact method." 
Sql :: today midnight SQL 
Sql :: SQL Copy Table Schema Only 
Sql :: sql saut de ligne 
Sql :: list foreign user mapping postgres 
Sql :: sqlite headers 
Sql :: BigQuery define array varriable 
Sql :: reset sql primary key 
Sql :: ring SQLite sqlite_init 
Sql :: oracle optional field procedure 
Sql :: Object Information 
Sql :: mysqli count down 
Sql :: how to check table engine in mysql 
Sql :: oracle query to find schema you are working on 
Sql :: how to check if there is no database schema 
Sql :: database schema for mcqs type exam in sql 
Sql :: importing multiple xml files in azure sql database 
Sql :: sql queries questions 
Sql :: while in plsql 
Sql :: how to create foreign key in sql server management studio 
Sql :: convert google analytics dathourminute to time stamp? sql 
Sql :: deletar banco de dados mysql 
Sql :: how to subquey to do not load in live database in 
Csharp :: vb.net yes no cancel 
Csharp :: c sharp how to read a text file 
Csharp :: c# get pc ip address 
Csharp :: round to float unity 
Csharp :: c# string to memorystream 
ADD CONTENT
Topic
Content
Source link
Name
2+5 =