“Grant SQL” Código de respuesta

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.
Pleasant Petrel

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
Pleasant Petrel

Grant SQL

GRANT UPDATE ON ORDER_BACKLOG TO JONES WITH GRANT OPTION
Smiling Shrew

Respuestas similares a “Grant SQL”

Preguntas similares a “Grant SQL”

Más respuestas relacionadas con “Grant SQL” en Sql

Explore las respuestas de código populares por idioma

Explorar otros lenguajes de código