Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

now one user in online.now i want drop him..how do u drop him?

Answer Posted / kittu

Hi,

First query

select username, sid#, serial from v$session where
username='ur_username';

if rows are get selected, then kill the process, by issuing
following statement:

alter system kill session 'sid, serial#';

after that issue the following statement:

drop user username cascade;

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

You have found corruption in a tablespace that contains static tables that are part of a database that is in NOARCHIVE log mode. How would you restore the tablespace without losing new data in the other tablespaces?

2862


What is the default port no on which sql server listens? : sql server DBA

1222


. I have my backup RMAN script called "backup_rman.sh". I am on the target database. My catalog username/password is rman/rman. My catalog db is called rman. How would you run this shell script from the o/s such that it would run as a background process?

2494


what is the use of recording information about current session?

1110


what is logical system in sap basis

1699


What is dbcc? : sql server DBA

1353


Does transparent data encryption provide encryption when transmitting data across network? : sql server DBA

1137


Where do you find the default index fill factor and how to change it? : sql server DBA

1124


Why does Oracle not permit the use of PCTUSED with indexes?

3016


Why would you use sql agent? : sql server DBA

1132


How do you troubleshoot errors in a sql server agent job? : sql server DBA

1167


how can you create a user-defined lock?

1058


In what script is "snap$" created? In what script is the "scott/tiger" schema created?

2499


Where would you look for errors from the database engine?

2897


what is grd?

1157