Testing compatibility change in SQL