#include "WorkingDialog.h"
void SgeVaSetFrags(pSgeWorkCallData p, ...);
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.
pSgeWorkCallData pSgeWCD;
....
SgeVaSetFrags(pSgeWCD, "select * from authors where au_id = ", NULL);