back to old sql