VALUES() should be written as VALUES();

Apr 15, 2009 at 8:10 PM
Edited Apr 15, 2009 at 8:11 PM
Line 329, which reads as follows:

$vals = $insertheader + ($vals -replace ", $",")")

Should instead read like this:

$vals = $insertheader + ($vals -replace ", $",");")

Without the above change, you will get bad output lines like this:

INSERT INTO HR.regions(region_id, region_name) VALUES(1, 'Europe')

instead of correct output lines like this:

INSERT INTO HR.regions(region_id, region_name) VALUES(1, 'Europe');