test the new version for SQL output