sp_mgGetServerType

Advantage SQL Engine

Returns the type of server the connection is to.

Syntax

EXECUTE PROCEDURE sp_mgGetServerType()

Parameters

ServerType (O)

Type of server

ServerTypeValue (O)

Numeric value representing server type. This is the same value as is returned by AdsMgGetServerType.

Remarks

Possible return values for ServerType include the following. The corresponding numeric ServerTypeValue is included in parentheses.

NetWare 4 or earlier (1)

NT/2000/2003 (2)

Local Server (3)

Windows 9x (4)

NetWare 5 or greater (5)

Linux (6)

Example

EXECUTE PROCEDURE sp_mgGetServerType();

See Also

sp_mgGetInstallInfo