Closed carenswijaya01 closed 3 months ago
Update:
I tried to change
# $sql_output .= "FOR EACH ROW\n" if ($sql_output !~ /FOR EACH ROW/);
$sql_output .= "FOR EACH ROW\n";
and it work, and just in case i try to change FOR EACH STATEMENT too, maybe you can try it and test
For now, i think i'll comment it first to continue my job
Commit 887969f fixes this issue, thanks for the report.
Thanks darold :+1:
Hi Darold, i have a bug from trigger convert (idk if it will affect others)
Here's my Oracle Trigger - 1
and the result is
Which seems perfect for me
But if there any other trigger below it (i mean i have 2 or more triggers), it doesnt include 'FOR EACH ROW' which i use for almost every trigger that i made.
Here's my Oracle Trigger - 2:
And the result:
As you can see, there is no 'FOR EACH ROW' clause in the last result, but there is some whitespace in it (i think it was replaced with whitespace (?))
But as far as i know, 'FOR EACH ROW' clause only appear in 1st trigger exported
So when i export "TDB_IPB_BJ_DETAIL" only, without "TDB_IBON_DTL" before it (or exclude it), the "FOR EACH ROW" clause appear
The hint that i know is just like i tell above, it only happen when it export 2 or more triggers, and only affect start from 2nd trigger.