Test files › Source code › schema.sql
Sample SQL file (schema)
A DDL and DML script with constraints, an index, a view, a transaction and dollar-free string literals.
↓ Download schema.sql| Filename | schema.sql |
| Format | SQL |
| Size | 1.0 KB (1,062 bytes) |
| MIME type | application/sql |
| SHA-256 | 412fbe6c0646cda5a0829b7672578ab400a98d1e2a9d166a43a3d1492ac16593 |
What this file catchesSQL splitters that break statements on every semicolon. The semicolons inside string literals and the comment here are the ones that make a naive split produce invalid fragments.
Download & verify
curl -fsSL -o "schema.sql" "https://files.hexaqa.com/code/schema.sql"
curl -fsSL "https://files.hexaqa.com/code/schema.sql" | sha256sum
# expect: 412fbe6c0646cda5a0829b7672578ab400a98d1e2a9d166a43a3d1492ac16593