Hello everybody,
The question is simple: Why the following code is inserting the record to the database?
sc_begin_trans();
$value = 1;
$insert_st="INSERT INTO TABLE (COL1,COL2,COL3) VALUES (1,2,'TEXT')";
sc_exec_sql($insert_st);
if($value ==0) {
sc_commit_trans();
}
else {
sc_rollback_trans();
}
My server is running on Centos 6. Scriptcase 9 was installed with auto installer and connection with MSSQLServer configured according to the documentation available in Scriptcase WebHelp.
Thanks in advance!