Subject Re: [firebird-support] Re: How many users are connected to DB
Author Daniel Albuschat
2005/4/14, Pavel Menshchikov <mpn2001@...>:
>
> Hello,
>
> r> I need to do this from winthin my application with SQL or if not
> r> possible with the API.
> AFAIK, API supports that (through database_info or something like
> that), but you can rely on the result for superserver only (I suppose
> for classic it returns 1 - it means your own connection).

For classic server, there are other solutions, depending on your
(x)inetd. But this is off-topic here (and I don't know any easy one
off hand, but it's definitely possible).

Bye,
Daniel

--
eat(this); // delicious suicide