How to disconnect other user befor deinstall DB

forum.advanced.programming (1998-2005)
Thomas Heim

How to disconnect other user befor deinstall DB

Post by Thomas Heim » 24 Jan 2005, 12:45

 Posted by:  Thomas Heim 

How can I disconnect other users when I'd like to deinstall the database
because of rename an create a new one.
Is there a way instead of SqlConsole?

Thanks, Thomas

Rainer Ebert

How to disconnect other user befor deinstall DB

Post by Rainer Ebert » 24 Jan 2005, 13:11

 Posted by:  Rainer Ebert 

Yes, you can use api functions to retrieve all connected users and to
disconnect them. Some time ago I've posted an example how this could be
done.

See my answer "Re: list of users connected to the database ?" as of "18.
Dezember 2003 14:14" in forum SQLBase.
Rainer

Return to “advanced.programming”

Who is online

Users browsing this forum: [Ccbot] and 0 guests