sp_iqmpxcountdbremote procedure

Function

Returns a count of dbremote connections for a multiplex database. This is a function implemented as a stored procedure.

Syntax

dbo.sp_iqmpxcountdbremote ( )

Examples

When dbremote is running, the result is 5 connections. The following ISQL statement returns results as a table:

select dbo.sp_iqmpxcountdbremote()

dbo.sp_iqmpxcountdbremote(*)

5

You can also display the output as a table using the following SQL:

begin
	declare dbremotes int;
	set dbremotes = dbo.sp_iqmpxcountdbremote();
	select dbremotes;
end