SQLWriter should work now. Need to test for errors.