IITDU Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Basic Commands for Oracle 10g

5 posters

Go down

Basic Commands for Oracle 10g Empty Basic Commands for Oracle 10g

Post by BIT0119-Asif Mon Jul 12, 2010 1:38 am

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';

Cool grant login to newly created user: grant create session to 'username';
BIT0119-Asif
BIT0119-Asif
Study Moderator
Study Moderator

Course(s) :
  • BIT

Blood Group : B+
Posts : 163
Points : 432

Back to top Go down

Basic Commands for Oracle 10g Empty Re: Basic Commands for Oracle 10g

Post by BIT0122-Amit Mon Jul 12, 2010 2:28 am

hmm... Very Happy rep++
um... was not there some another command related to grant?
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

Basic Commands for Oracle 10g Empty Re: Basic Commands for Oracle 10g

Post by BIT0122-Amit Mon Jul 12, 2010 2:30 am

Neutral and what means alter user? Neutral
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

Basic Commands for Oracle 10g Empty Re: Basic Commands for Oracle 10g

Post by BIT0129-Tabassum Mon Jul 12, 2010 3:04 am

Nice post Asif..Thanks a lot Very Happy Hoping we will see more and descriptive commands from you Smile
BIT0129-Tabassum
BIT0129-Tabassum
Global Moderator
Global Moderator

Course(s) :
  • BIT

Blood Group : A+
Posts : 1496
Points : 2298

http://probe-tabassum.blogspot.com

Back to top Go down

Basic Commands for Oracle 10g Empty Re: Basic Commands for Oracle 10g

Post by BIT0108-mostafa Mon Jul 12, 2010 4:12 am

nice work chattor...........
BIT0108-mostafa
BIT0108-mostafa
Release Candidate
Release Candidate

Course(s) :
  • BIT

Blood Group : O+
Posts : 118
Points : 184

Back to top Go down

Basic Commands for Oracle 10g Empty Re: Basic Commands for Oracle 10g

Post by BIT0107-Toma Tue Jul 13, 2010 1:21 am

@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
BIT0107-Toma
Programmer
Programmer

Course(s) :
  • BIT

Blood Group : B+
Posts : 280
Points : 453

Back to top Go down

Basic Commands for Oracle 10g Empty Re: Basic Commands for Oracle 10g

Post by BIT0122-Amit Tue Jul 13, 2010 2:16 am

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.
Neutral erm....

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 Smile


Last edited by BIT0122-Amit on Tue Jul 13, 2010 2:18 am; edited 1 time in total (Reason for editing : rep++)
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

Basic Commands for Oracle 10g Empty Re: Basic Commands for Oracle 10g

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum