SE_queryinfo_set_by_clause

Sets the ORDER BY clause for a query

Usage syntax

LONG SE_queryinfo_set_by_clause
(SE_QUERYINFO query_info,
const CHAR *order_by);

Parameters
query_info The SE_QUERYINFO handle
order_by A pointer to an ORDER BY clause
Description

SE_queryinfo_set_by_clause sets the ORDER BY clause for a query. The ORDER BY clause is added to the end of the WHERE clause in the SE_QUERYINFO structure and defined by SE_queryinfo_set_where_clause.

Returns

SE_SUCCESS
SE_FAILURE

SE_INVALID_POINTER

SE_INVALID_QUERYINFO_OBJECT

SE_NET_FAILURE

SE_INVALID_PARAM_VALUE

SE_OUT_OF_CLMEM

SE_SDE_NOT_STARTED