Kishan 2
Kishan 2
Create User:
Purpose: Use the CREATE USER statement to create and configure a database user,
which is an account through which we can log into the database, and establish the
means by which Oracle Database permits access by the user. We can enable a user to
connect to the database through a proxy application or application server.
Syntax: create user username identified by password
Alter User:
Default Tablespace:-
Oracle comes with the following default tablespaces: SYSTEM, SYSAUX, USERS, UNDOTBS1,
and TEMP.
Grant Session:
Purpose: Use the GRANT statement to grant:
• System privileges to users and roles.
• Roles to users and roles. Both privileges and roles are either local, global, or
external.
• Object privileges for a particular object to users, roles and PUBLIC.
Session grant has not been given to user Kishan1.
Manual Insertion:
Dynamic Insertion:
Dynamic insertion is the insertion of a new valid combination into a combinations table
from a form other than the combinations form. If we allow dynamic inserts when we set
up our key flex field, a user can enter a new combination of segment values using the
flex filed windows from a foreign key form. Assuming that the new combination satisfies
any existing cross-validation rules, the flex field inserts the new combination into the
combinations table, even through the combinations table is not the underlying table for
the foreign key form.
Revoke:
Use the REVOKE statement to remove privileges from a specific user or role, or from all
users, to perform actions on database objects. We can also use the REVOKE statement
to revoke a role from a user, from PUBLIC, or from another role.
The following types of privileges can be revoked:
• Delete data from a specific table.
• Insert data into a specific table.
• Create a foreign key reference to the named table or to a subset of columns from
a table.
• Select data from a table, view, or a subset of columns in a table.
• Create a trigger on a table.
• Update data in a table or in a subset of columns in a table.
• Run a specified routine (function or procedure).
• Use a sequence generator or a user-defined type.
Table Revoke:
Session Revoke:
Commit:
Rollback:
Purpose: Use the ROLLBACK statement to undo work done in the current transaction or
to manually undo the work one by an in-doubt distributed transaction.
Syntax: rollback;