SqlWriteJob - major overhaul

SqlWriteJob should now be able to write to "sub-tables"