GRANT USAGE ON SEQUENCE Statement

Grants the USAGE system privilege on a specified sequence to a user or role.

Syntax

GRANT USAGE ON SEQUENCE sequence-name
   TO userID [,...]

Parameters

Standards

  • SQL – syntax is a Persistent Stored Module feature.

  • Sybase – the security model is different in Adaptive Server Enterprise and SAP Sybase IQ, so other syntaxes differ.

Permissions

Requires one of: