SQL Errors with Generated UNLOAD and DELETE SQL Statements