[Top] [Prev] [Next] [Bottom] [Contents]

SgeVaSetFrags

Sets the SQL fragments used by Dynamic SQL objects. This function is used in generating Sapphire/Web code and probably will not be used by application programmers. It is documented here so that you can understand Sapphire/Web-generated code.

Synopsis

#include "WorkingDialog.h"
void SgeVaSetFrags(pSgeWorkCallData p, ...);

Arguments

p
An allocated pSgeWorkCallData structure.
...
Variable length list of arguments. Each argument is a NULL terminated string containing sql fragments. The last argument in the list must be NULL to terminate the variable argument list.

Return Values

None.

Description

SgeVaSetFrags sets the SQL fragments used to construct the SQL for a Dynamic SQL request, for an allocated pSgeWorkCallData structure. If p is NULL, no action is taken. The number of fragments must be greater than or equal to the number of arguments bound to the pSgeWorkCallData structure. This function accepts a variable length list of arguments. Each argument must be a NULL terminated string. The last argument in the variable length list must be NULL to terminate the list. Use of this function makes the request type a DSQL Object independent of previous operations on this request.

Example

pSgeWorkCallData pSgeWCD;
....
SgeVaSetFrags(pSgeWCD, "select * from authors where au_id = ", 
NULL);

See Also



[Top] [Prev] [Next] [Bottom] [Contents]

info@bluestone.com
Copyright © 1997, Bluestone. All rights reserved.