sql fixed to tar