DBF to SQL post and slight revision in Python for loops post (removing extraneous while)