Basic Commands for Oracle 10g
5 posters
IITDU Forum :: Academics (BIT) :: Semester 4 :: CSE 404
Page 1 of 1
Basic Commands for Oracle 10g
1) Select db: desc dba_tablename;
2) Connect: conn sys/'password' as sysdba;
3) Show: show user;
4) Alter user: alter user 'usename' identified by 'password';
5) Unlock user: alter user 'username' account unlock;
6) lock user: alter user 'username' account lock;
7) create user: create user 'username' identified by 'password';
grant login to newly created user: grant create session to 'username';
2) Connect: conn sys/'password' as sysdba;
3) Show: show user;
4) Alter user: alter user 'usename' identified by 'password';
5) Unlock user: alter user 'username' account unlock;
6) lock user: alter user 'username' account lock;
7) create user: create user 'username' identified by 'password';
grant login to newly created user: grant create session to 'username';
BIT0119-Asif- Study Moderator
- Course(s) :
- BIT
Blood Group : B+
Posts : 163
Points : 432
Re: Basic Commands for Oracle 10g
hmm... rep++
um... was not there some another command related to grant?
um... was not there some another command related to grant?
Re: Basic Commands for Oracle 10g
Nice post Asif..Thanks a lot Hoping we will see more and descriptive commands from you
Re: Basic Commands for Oracle 10g
nice work chattor...........
BIT0108-mostafa- Release Candidate
- Course(s) :
- BIT
Blood Group : O+
Posts : 118
Points : 184
Re: Basic Commands for Oracle 10g
@Amit: alter means that u r moving from one user to another. that means user switching. I think only sysdba can do this.
BIT0107-Toma- Programmer
- Course(s) :
- BIT
Blood Group : B+
Posts : 280
Points : 453
Re: Basic Commands for Oracle 10g
erm....BIT0107-toma wrote:@Amit: alter means that u r moving from one user to another. that means user switching. I think only sysdba can do this.
means... I am logged in from sys as sysdba
and by using alter, i will be able to login as toma (which is a user)
So, that means I will have only user level privileges, right?
rep++ btw
Last edited by BIT0122-Amit on Tue Jul 13, 2010 2:18 am; edited 1 time in total (Reason for editing : rep++)
Similar topics
» MYSQL commands Collection
» Various commands for DBMS and MySQL
» oracle fundamentals I
» Class lectures and commands
» Listing commands in Linux
» Various commands for DBMS and MySQL
» oracle fundamentals I
» Class lectures and commands
» Listing commands in Linux
IITDU Forum :: Academics (BIT) :: Semester 4 :: CSE 404
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Tue Sep 29, 2015 2:45 pm by Sophiawood
» Cisco EHWIC SFP/GE WAN Card
Mon Sep 07, 2015 11:08 am by Sophiawood
» Huawei S1700-28GFR-4P-AC Price
Thu Jun 25, 2015 2:31 pm by Sophiawood
» teach yourself C++ / Herbert Schildt Solutions
Wed Jun 03, 2015 1:52 pm by Abdullah Al Noman
» teach yourself c by herbert schildt pdf
Wed May 13, 2015 11:01 pm by Raquib Ridwan
» ASA 5506X With Firepower ASA5506-K9
Fri Apr 10, 2015 4:31 pm by Sophiawood
» New Trends in Deal Business
Tue Feb 03, 2015 9:38 pm by nersoa
» PoE Power Allocation for WS-C2960S-24PS-L
Wed Nov 05, 2014 11:12 am by Sophiawood
» How to cure back pain
Fri Oct 31, 2014 7:15 pm by Bergen Guildford