File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Oracle/OAS and the fly likes Setting a database(user) to single user mode? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Oracle/OAS
Bookmark "Setting a database(user) to single user mode?" Watch "Setting a database(user) to single user mode?" New topic
Author

Setting a database(user) to single user mode?

Amit Paleja
Greenhorn

Joined: Apr 21, 2007
Posts: 7

Hi

I want to set a particular user (database) to single user mode so that only one user at a time can access it. This is required so as to import data from another user on the same server after which i wish to revert the user to multi user mode.

I tried to achieve this with the following query but in vain:
ALTER SYSTEM ENABLE RESTRICTED SESSION

This sets the entire database server to single user mode and not the user (database) that I want to (the one that am currently connected to).

Is there a way to achieve this?

Amit


The dictionary is the only place where success comes before work. -Vince Lombardi.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Setting a database(user) to single user mode?