Page 1 of 1

Execute two INSERT statements

Posted: Tue May 21, 2024 10:01 am
by iggabz

$myResult = ExecuteStatement("INSERT INTO MyTable (Field1, Field2, Field3) VALUES (Value1, Value2, Value3)");
$myResult2 = ExecuteStatement("INSERT INTO MyTable (Field1, Field2, Field3) VALUES (Value1, Value2, Value3)");

is this allow? plan is to insert two rows in a table. using this on row_inserted


Re: SQL statement

Posted: Tue May 21, 2024 10:45 am
by mobhar

Yes, it is allowed.


Re: SQL statement

Posted: Tue May 21, 2024 11:42 am
by iggabz

already resolved this. thank you