Updated options on sql window