Commit the sql