DCL is also known as DATA CONTROL LANGUAGE.It is used to create roles, permissions, and referential integrity.Moreover,It is used to control access to database by securing it.Statements included under DCL are:
1)GRANT
2)REVOKE
GRANT:
It is used to grant privileges at specified access level. Syntax:
GRANT privilege[....]
ON object[,.....]
TO { PUBLIC | GROUP | USERNAME};
REVOKE:
The REVOKE statement enables system administrators to revoke privileges from MySQL accounts.
Sunday
// //
0
comments
//
0 comments to "DATA CONTROL LANGUAGE"
Powered by Blogger.
Post a Comment