KCML_View_GetColumnList

Purpose

Return the KDB SQL column list for the given view

Definition

DEFSUB 'KCML_View_GetColumnList(BYREF str$, BYREF x()) AS Numeric

Parameters

str** not documented
xRedimmed to number of columns and filled with ordinals

Return

Count if succeeds; 0 otherwise.

Description

Not intended for general use but is used in tests. This function given the SYM of a view constant will return an array of ordinals (indexed from 1) representing the columns as they appear in the database for this view. This function will fail when used against records instead of views.

See also

Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.