473,480 Members | 2,014 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

How to Inactivate the Oracle User?

Hi All,

I Created a Oracle user(schema) in my database. Now instead of droping
the oracle user(schema), i want to inactivate it.

Can anyone tell me how to inactivate the user instead of droping it?

Thanks in Advance,
Praveen
Jul 19 '05 #1
6 9081

Try:

ALTER USER THE_USER ACCOUNT LOCK;

--
Posted via http://dbforums.com
Jul 19 '05 #2
"alter user ... account lock"

Daniel
Jul 19 '05 #3
Hi Praveen,

use this command:

alter user <user name> account lock
/

Regards,
Michael
Brainbench MVP for Oracle Programming
http://www.brainbench.com
sp**********@yahoo.com (Praveen) wrote in message news:<98**************************@posting.google. com>...
Hi All,

I Created a Oracle user(schema) in my database. Now instead of droping
the oracle user(schema), i want to inactivate it.

Can anyone tell me how to inactivate the user instead of droping it?

Thanks in Advance,
Praveen

Jul 19 '05 #4
You can revoke his create session priviledge, in that case he won't be
able to login. Thus inactivated. But all his objects will still be
available.

ibondre
sp**********@yahoo.com (Praveen) wrote in message news:<98**************************@posting.google. com>...
Hi All,

I Created a Oracle user(schema) in my database. Now instead of droping
the oracle user(schema), i want to inactivate it.

Can anyone tell me how to inactivate the user instead of droping it?

Thanks in Advance,
Praveen

Jul 19 '05 #5
sp**********@yahoo.com (Praveen) wrote in message news:<98**************************@posting.google. com>...
Hi All,

I Created a Oracle user(schema) in my database. Now instead of droping
the oracle user(schema), i want to inactivate it.

Can anyone tell me how to inactivate the user instead of droping it?

Thanks in Advance,
Praveen

alter user mike account lock (Locks out the user)

alter user mike account unlock (opens up mike)
That should keep out a user

Michael Tubuo Ngong
Jul 19 '05 #6
Hi All,

Thanks to everyone for the responses.
Yes, atlast i used the samething...

alter user the_user lock/unlock;

Thanks,
Praveen

mn****@yahoo.com (michael ngong) wrote in message news:<ec**************************@posting.google. com>...
sp**********@yahoo.com (Praveen) wrote in message news:<98**************************@posting.google. com>...
Hi All,

I Created a Oracle user(schema) in my database. Now instead of droping
the oracle user(schema), i want to inactivate it.

Can anyone tell me how to inactivate the user instead of droping it?

Thanks in Advance,
Praveen

alter user mike account lock (Locks out the user)

alter user mike account unlock (opens up mike)
That should keep out a user

Michael Tubuo Ngong

Jul 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5197
by: Jan Bols | last post by:
I've been trying to install Oracle 8.1.7 on a fresh Mandrake 9.1 O.S for days, but I'm still not able to get it running. I've tried several install instructions that I found on the internet but no...
0
4724
by: JWM | last post by:
I am trying to implement Oracle connection pooling for the following code, which was written by someone else. Here is my main question -- this java file creates code that is executed every hour,...
1
9172
by: Andrew Arace | last post by:
I scoured the groups for some hands on code to perform the menial task of exporting table data from an Access 2000 database to Oracle database (in this case, it was oracle 8i but i'm assuming this...
13
7448
by: Chris Botha | last post by:
The machine is running XP Pro with all the latest service packs, etc. I must access an Oracle database so I installed the Oracle client stuff. I can query Oracle from a Windows app, no problem....
2
4204
by: egoldthwait | last post by:
I need to convert a 17mb access 2000 db to Oracle and house it in a Citrix farm. The issue: we have never converted an Access Db to Oracle but can probably use Oracle's Workbench to assist with...
1
1024
by: sunnysrivastava84 | last post by:
I want to inactivate a row such that it is not deleted from the table but it is not visible when i click the search button,plz give me the code and query thanx
1
1102
by: ogglaton | last post by:
Hi!! I'm buildning a minesweeper and when the game is won, i want to inactivate the game board and have a pop-up saying "you won". I've heard that it's possible to inactivate a frame by opening...
6
174
by: Praveen | last post by:
Hi All, I Created a Oracle user(schema) in my database. Now instead of droping the oracle user(schema), i want to inactivate it. Can anyone tell me how to inactivate the user instead of...
1
722
by: DC_DBA | last post by:
I want to 'grant sysdba to a user' for an application. (At least that is what I believe so far after having had this problem dumped on me 2 days ago.) The support we get from the application vendor...
0
7037
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6904
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7076
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
6873
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
4471
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2990
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2976
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
558
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
174
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.