Convert GZ to SQL
Turn GZ archives into SQL. The gzip layer is removed and the bytes inside are written as they were.
Converted in an isolated sandbox on our serversDeleted after 24 hours
Drop GZ files on the dialor turn it to pick what to do
A SQL script out of a gzip file.The gzip layer comes off. The text inside is yours as it was.
What you get
A SQL file with the same bytes that were inside the GZ file. Nothing is rewritten, reformatted or reordered. The result is one file.
The conversion removes the compression and nothing else. A database dump that was gzipped comes back as a dump any SQL tool can read or replay.
Know what is inside
Ask for SQL only when you know the GZ file holds SQL. The conversion does not turn other content into SQL. A gzipped log or CSV is refused, because anything other than the format inside is not accepted.
A conversion stops with
unsupported_elementswhen the file holds something SQL cannot carry. It stops withinput_corruptedwhen the file could not be parsed as gzip.Going the other way
To compress a script again, use SQL to GZ. For other options, see every GZ conversion.
GZ and SQL.What each format is.
The formats
Gzip
A single file compressed with gzip, such as a log or a CSV.
- Extensions
- .gz
- MIME type
- application
/gzip - Kind
- Archives
SQL Script
SQL statements as text. A database dump that any SQL tool can read or replay.
- Extensions
- .sql
- MIME type
- application
/sql - Kind
- Text and data
In your code.The same GZ to SQL conversion through the API, for your app or your agent.
$ cv convert archive.gz archive.sql$ cv convert archive.gz archive.sqlQuestions.What people ask about GZ to SQL.
No. The gzip layer is removed and the bytes inside are written as they were.
No. Ask for the format you know is inside. A request for any other format is refused.
The file could not be parsed. The conversion stops with this code.
No. This conversion has no options, and it gives you one file.