Select privileges
- Last Updated: February 9, 2026
- 1 minute read
- OpenEdge
- Version 12.8
- Documentation
The SELECT privilege is a type of table and view level privilege of the GRANT statement.
Syntax
The proper syntax to grant SELECT privileges to a user
is:
grant select ON table_name TO usernameThe following is an example granting SELECT privileges to user
John
on table
pub.customergrant select on pub.customer to JohnYou can grant SELECT privileges on a table by table basis. In other words, you cannot grant a user SELECT privileges on all tables in one statement.
For more information, see Database privileges.