User Managment
User Managment
---
-- Name : OT (Oracle Tutorial) Sample Database
-- Link : http://www.oracletutorial.com/oracle-sample-database/
-- Version : 1.0
-- Last Updated: July-28-2017
-- Copyright : Copyright � 2017 by www.oracletutorial.com. All Rights Reserved.
-- Notice : Use this sample database for the educational purpose only.
-- Credit the site oracletutorial.com explitly in your materials that
-- use this sample database.
-----------------------------------------------------------------------------------
---
--------------------------------------------------------------------
-- execute the following statements to create a user name OT and
-- grant priviledges
--------------------------------------------------------------------
alter session set "_ORACLE_SCRIPT"=false;
-- create new user
CREATE USER OT IDENTIFIED BY yourpassword;
-- grant priviledges
GRANT
CREATE ANY TABLE,
ALTER ANY TABLE,
DROP ANY TABLE,
DELETE ANY TABLE,
INSERT ANY TABLE,
UPDATE ANY TABLE,
SELECT ANY TABLE
TO comercial WITH admin option;