Tweaks to SQL functions

Allowing the specifications for custom headers and separators for xyz
files used for creating a SQL database