Save and return history from isql.