SQL Script Fixed.