Execute a statement with the currently open statement handle.
return_bool = dbexecstmt(command_str)
return_bool - True if successful, else false
command_str - Statement to send to the database
True if successful.
Unlike dbexec(), dbexecstmt() assumes there is a currently open statement handle. NLP++ currently allows only a single statement handle to be active at a time.
@CODE
dbopen("test","root","mypassword");
dballocstmt();
dbexecstmt("INSERT INTO abc (name, number) VALUES('Jane','0011');");
dbexecstmt("INSERT INTO abc (name, number) VALUES('Joe','0013');");
dbfreestmt();
dbclose();
@@CODE