|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello all,
I am using Firebird 1.5. 1) I want to query my database to find out the current number of Active Connections (That how many users are connected to the database currently). 2) One more doubt :- If i am connected to Firebird Database through JDBC ... and that program terminates abnormally after successfully obtaining the Connection. What will happen to the Active Connection Count ... will it be decremented ? Thanks in Advance Sanket |
|
#2
|
|||||
|
|||||
|
Quote:
What language do you use ? for example in c++ you can call the api function isc_database_info and here is how is implemented in ibpp Quote:
Quote:
it should be decremented ps : ok now i see that you use jdbc i guess is java what is used ? Last edited by mariuz : October 13th, 2004 at 05:48 PM. |
|
#3
|
|||
|
|||
|
[QUOTE=mariuz]What language do you use ?
for example in c++ you can call the api function isc_database_info and here is how is implemented in ibpp Thanks for the C++ Code .... but I need the SQL Query which will return me the Current Active Connection and User Status. |
|
#4
|
|||
|
|||
|
Quote:
It's not possible (yet)... -- Best regards, Fikret Hasovic http://fikret.fbtalk.net TAMP R&D Team FirebirdSQL Foundation member. - Join today at http://www.firebirdsql.org/ff/foundation JEDI VCS contributor http://jedivcs.sourceforge.net/ |
![]() |
| Viewing: Dev Shed Forums > Databases > Firebird SQL Development > Query :- find Count of Active Connections |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|