sql script to check database compatibility level