Data format
SQL Sample Files for Testing
SQL (.sql) files contain database schema and data manipulation statements. Use sample SQL files to test parser ingestion, linting, and migration tooling.
14 fichiers
All to 250MB
SHA256 verified
Manifeste included
Quick facts
Files first
SQL Sample Files — Download
Starter file
TelechargerSchema Migration SQL
Telecharger le fixtureSeed Data SQL
Telecharger le fixture| Nom du fichier | Taille | MIME | Telecharger |
|---|---|---|---|
| 167 B | application/sql |
Telecharger
|
|
| 100.0 MB | application/sql |
Telecharger
|
|
| 100.0 MB | application/sql |
Telecharger
|
|
| 100.0 MB | application/sql |
Telecharger
|
|
| 1.0 MB | application/sql |
Telecharger
|
|
| 200.0 KB | application/sql |
Telecharger
|
|
| 250.0 MB | application/sql |
Telecharger
|
|
| 2.0 MB | application/sql |
Telecharger
|
|
| 500.0 KB | application/sql |
Telecharger
|
|
| 50.0 KB | application/sql |
Telecharger
|
|
| 5.0 MB | application/sql |
Telecharger
|
|
| 188 B | application/sql |
Telecharger
|
|
| 253 B | application/sql |
Telecharger
|
|
| 187 B | application/sql |
Telecharger
|
No files match the current filter. Switch to another chip or size range.
Use cases
SQL Testing Workflows
Upload Testing
Ouvrir le format SQLParser Regression
Ouvrir le format SQLQA Automation
Ouvrir le format SQLCompare and decide
SQL Format Comparisons
SQL vs CSV
Compare replay vs import testingBest Format for Database Seed Rehearsal
Open seed guideFAQ and reference
SQL File FAQ
Verification du checksum
Utilisez les checksums pour confirmer l'integrite du fichier apres telechargement.
shasum -a 256 your_file_name_here
# Compare output with SHA256 values listed above.
Where is the machine-readable manifest?
Use the manifest when you need stable names, SHA256 values, and URLs for automation.
Use in code — curl, Python, Node, wget
Copy any snippet directly into scripts, test suites, or CI pipelines. All URLs are stable and publicly accessible with no auth required.
# Download sql_reporting_query_sample.sql
curl -L -o sql_reporting_query_sample.sql \
https://samplefile.com/samples/download/data/sql/sql_reporting_query_sample.sql/
# Or fetch a random SQL file
curl -s "https://samplefile.com/samples/api/random?format=sql" | jq -r '.download_url'
# Download sql_reporting_query_sample.sql
wget -O sql_reporting_query_sample.sql \
https://samplefile.com/samples/download/data/sql/sql_reporting_query_sample.sql/
import requests
# Download a specific file
url = "https://samplefile.com/samples/download/data/sql/sql_reporting_query_sample.sql/"
resp = requests.get(url)
with open("sql_reporting_query_sample.sql", "wb") as f:
f.write(resp.content)
# Or fetch a random SQL file via API
meta = requests.get("https://samplefile.com/samples/api/random?format=sql").json()
resp = requests.get(meta["download_url"])
with open(meta["name"], "wb") as f:
f.write(resp.content)
// Download a specific file
const fs = require("fs");
const https = require("https");
const url = "https://samplefile.com/samples/download/data/sql/sql_reporting_query_sample.sql/";
https.get(url, (res) => {
res.pipe(fs.createWriteStream("sql_reporting_query_sample.sql"));
});
// Or fetch a random SQL via the API
const meta = await fetch("https://samplefile.com/samples/api/random?format=sql").then(r => r.json());
const file = await fetch(meta.download_url);
// use file.arrayBuffer(), file.body, etc.
# Random SQL file (JSON response)
GET https://samplefile.com/samples/api/random?format=sql
# All SQL files
GET https://samplefile.com/samples/api/files?format=sql
# Manifest with SHA256 checksums
GET https://samplefile.com/samples/data/sql/manifest.json
# Response includes: name, size_bytes, mime_type, sha256, download_url
Methodologie de validation
- Validate extension and MIME detection before processing.
- Benchmark performance with small and larger files.
- Test malformed-input handling and error messaging.
Matrice de fixtures
Utilisez la matrice SQL pour choisir les bons fixtures propres, limites et casses pour ce format.
Ouvrir la matrice
Packs de workflow