sp_serverinfo

Description

Send information about a character set or sort order to a client.

Syntax

sp_serverinfo    function [name]

Parameters

function

Table 4-5 summarizes the legal values for function:

Table 4-5: Values for function (sp_serverinfo)

Value

Meaning

server_csname

The name of the character set for the Open Server application will be sent as a one, single column, character row to the client.

server_soname

The name of the Open Server application sort order will be sent as one, single column, character row to the client.

csdefinition

A row containing the character set definition will be sent to the client. The row consists of three columns: type as a CS_SMALLINT_TYPE, ID as a CS_TINYINT_TYPE, and the character set definition as a CS_IMAGE_TYPE.

sodefinition

A row containing the sort order definition will be sent to the client. The row consists of three columns: type as a CS_SMALLINT_TYPE, ID as a CS_TINYINT_TYPE, and the sort order definition as a CS_IMAGE_TYPE.

name

The character set or sort order name. name need only be provided if function is set to csdefinition or sodefinition.

Usage