TCL COMMANDS
DCL(data control language)
Grant
Revoke
SQL PRIVILEGES
Privilege is a permission given by DBA
It provides right to execute a
particular type of sql statements
It also gives the right to connect the
database and create a table in your schema.
Note: sql DCL command deals with
privileges PRIVILEGES CAN BE DERIVED INTO TWO PARTS
System privileges[DDL]
Object privileges[DQL,DML]
GRANT: It hepls to provide any kind of
access to any user
REVOKE: It is used to take back the
access from users
TCL COMMANDS
Create user sha identified by pwd;
User created
Grant succeeded
Grant delete on emp to sha;
Grant succeeded
Grant succeeded
Revoke all on system.emp from sha;
Revoke succeeded
Revoke succeeded
No comments:
Post a Comment