Revered back to direct database integration due to very infrequent yet extremely problematic syntax errors in SQL output from file.

Changed database interaction to insert blocks of statements and commit only after the entire table is parsed.  Much faster!