Syntax and example Assignment Help

Assignment Help: >> Database Objects - Syntax and example

Syntax:

To grant a privilege:

Grant <privilege name> on <tablename> to <username>;

To revoke a privilege

Revoke <privilege name> on <tablename> from <username>;

Example:

To grant a select privilege to a user B from A, use

GRANT SELECT ON EMP TO B; DISPLAYS,

Grant succeeded. While revoking,

REVOKE select on emp from b; Revoke succeeded.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd