SE_serverinfo_get_maxdistinct

Extracts MAXDISTINCT from the SE_SERVERINFO object

Usage syntax

LONG SE_serverinfo_get_maxdistinct (const SE_SERVERINFO svrInfo, LONG *distinct);

Parameters
svrInfo The SE_SERVERINFO object
distinct MAXDISTINCT value
Description

This function extracts the MAXDISTINCT value from the SE_SERVERINFO data structure.

The MAXDISTINCT parameter controls the maximum number of distinct values returned by an SE_DISTINCT_STATS statistic in a call to SE_table_calculate_stats or SE_stream_calculate_table_statistics. A value of 0 means an unlimited number of distinct values can be returned. The default setting is 512.

Returns

SE_SUCCESS
SE_INVALID_POINTER

SE_INVALID_SERVERINFO_OBJECT

SE_SDE_NOT_STARTED