sql script had a typo in it