sql write jobs work.