GRANT System Privilege Statement

Grants specific system privileges to users or roles, with or without administrative rights.

Syntax

GRANT system_privilege_name [, …]  
   TO userID [, …] 
   [ { WITH NO ADMIN | WITH ADMIN [ ONLY ] } OPTION ]

Parameters

Examples

Usage

By default, if no administrative clause is specified in the grant statement, the WITH NO ADMIN OPTION clause is used.

Standards

  • SQL – Other syntaxes are vendor extensions to ISO/ANSI SQL grammar.

  • Sybase – Syntax is supported in Adaptive Server Enterprise.

Permissions

Requires administrative privilege over the system privilege being granted.