This function prepares and executes the SQL statement in one step.
Syntax :
RETCODE SQLExecDirect ( hstmt, sqlStr, lenSqlStr);
Arguments:
The arguments for SQLExecDirect are listed in below table.
| Type | Name | Description''' |
| SQLHSTMT | hstmt | Statement handle |
| SQLCHAR * | sqlStr | SQL statement to be executed. |
| SQLINTEGER | lenSqlStr | Length of *sqlStr in characters. |