Sybase Technical Library - Product Manuals Home
[Search Forms] [Previous Section with Hits] [Next Section with Hits] [Clear Search] Expand Search

sp_pkeys [Table of Contents] sp_special_columns

Access Service User's Guide DirectConnect for AS/400

[-] Chapter 12 Accessing catalog information with CSPs
[-] sp_server_info

sp_server_info

Description

Returns a list of attribute names and matching values for the target DBMS.

Syntax

sp_server_info [attribute_id]

Parameters

attribute_id

is the integer ID of the attribute. Wildcard-character search patterns are not supported.

Usage

Results

sp_server_info returns a list of the requested attributes and their values.

The lengths for varchar columns shown in the result set tables are maximums; the actual lengths depend on the target database.

The following table shows the result set.

Result set for sp_server_info

Column

Datatype

Description

ATTRIBUTE_ID

intNOT NULL

Numeric identifier of the attribute

ATTRIBUTE_NAME

varchar(60)

Attribute name

ATTRIBUTE_VALUE

varchar(254)

Attribute value


sp_pkeys [Table of Contents] sp_special_columns