only run when SQL is supported