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
how can you find out if a table can be redefined?
What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?
how can you generate profile of pl/sql applications to identify performance bottlenecks?
What is dcl? : sql server DBA
What is the importance of a recovery model? : sql server DBA
What is the difference between dropping a database and taking a database offline? : sql server DBA
Draft one mock email requesting your non-technical management grant you downtime to (provide justification where applicable) complete the following tasks: (1) Generate statistics on a large table; (2) Generate an RDA – if you don't know what an RDA is please say so. (3) Rename datafiles.
I have kept recovery catalog on same target database and taken backup of target DB to disk. deleted the target DB & tried to restore and revoer DB using the backup on disk but it is not possible, how do we restore & recover DB
Explain materialized views and how they are used.
What are the commands you'd issue to show the explain plan for "select * from dual"?
Oracle client is not able to connect to Oracle server although tnsnames.ora file has valid enteries. Oracle error message is “ cannot resolve net service name”. Mention any three reasons.
How to start SQL Server in minimal configuration mode?
How many files can a database contain in sql server?how many types of data files exists in sql server? How many of those files can exist for a single database? : sql server DBA
How would you best determine why your MVIEW couldn't FAST REFRESH?
what is the use of recording information about current session?