Parameter
|
Type
|
Description
|
IN
|
|
|
hstmt
|
int64
|
Statement handle
|
iCmdType
|
int
|
DAM_NC_VALIDATE – validate the passed-in command and return DAM_SUCCESS.
DAM_NC_EXECUTE – execute the native command and return the number of rows affected.
|
szCmd
|
string
|
The command to execute
|
piNumResRows
|
long
|
The number or rows affected.
|
RETURN
|
|
|
|
int
|
DAM_SUCCESS – In DAM_NC_VALIDATE mode, this indicates that the command is supported. In DAM_NC_EXECUTE mode, this indicates that the command was successfully executed.
DAM_FAILURE – Indicates there is a syntax error in the native command. The specific error message should be added using the dam_addError method.
DAM_NOT_AVAILABLE – In DAM_NC_VALIDATE mode, the command issued is not supported.
|