Hmm the above got kind of mangled with the formatting the second part should read like this:
USING
_spVV8 (DATE),
_spVV9 (INT) INSERT INTO this_table
SELECT col1, col2, sum(col3)
FROM that_table
WHERE partCol = :_spVV8 + :_spVV9;
For some reason the INSERT part got put in there twice...
Hmm the above got kind of mangled with the formatting the second part should read like this:
USING
_spVV8 (DATE),
_spVV9 (INT) INSERT INTO this_table
SELECT col1, col2, sum(col3)
FROM that_table
WHERE partCol = :_spVV8 + :_spVV9;
For some reason the INSERT part got put in there twice...