set sql persistent to true