Uploaded by Prabesh Isaiah Sunuwar

SCRIPTS

advertisement
--create user
CREATE USER <uname> IDENTIFIED BY <pswd>;
--In case of invalid username/role error
ALTER SESSION set "_ORACLE_SCRIPT"=true;
--grant all privileges GRANT ALL PRIVILEGES TO <uname>
--Login to user account
CONENCT <UNAME>
--TO CHANGE PASSWORD
ALTER USER <uname> IDENTIFIED BY <psd>
--TO CHECK THE LIST OF TABLES
SELECT * FROM TAB;
--to describe table
DESC <TABLENAME>
Download