load ticket sql command