Withdata Software

Batch convert SQL files to Excel files

Want to batch convert SQL files to Excel files?

Try Withdata Data File Converter, a desktop SQL to Excel converter for Windows, MacOS, and Linux, Batch convert SQL to Excel, Easy and Fast.

Download DataFileConverter
Windows 64 bit
Windows 32 bit
Linux .deb (For Debian, Ubuntu) 64 bit
Linux .rpm (For Red Hat, Fedora, SUSE) 64 bit
MacOS 64 bit

Batch convert SQL files to Excel files

Select source SQL files -> Set Excel files -> Convert SQL files to Excel files

Click “Start a New Convert” at task dialog.

then show the wizard.

Select From “Files” “SQL” To “Files” “Excel”.

1. Select source SQL files.

And config the first source SQL file.

2. Config target Excel files.

3. Summary.

List source SQL files.

4. Convert SQL files to Excel files, 1 SQL to 1 Excel.

After converting, you can view output Excel files.


More about SQL to Excel converter

See also:

SQL → EXCEL reference

Type mapping

Value kindin SQLin EXCEL
IntINT1234 (a real numeric cell)
BigintBIGINT9007199254740993 (exact only while the cell stays text)
DecimalDECIMAL(p,s)1234.56 (numeric cell, format controls the displayed decimals)
FloatDOUBLE PRECISION1.234E+10 (numeric cell)
TextVARCHAR(n)text cell; leading zeros survive only if the column is text
Long textTEXT / CLOBtext cell; wraps inside the cell rather than the row
DateDATEa serial number plus a date cell format
DatetimeTIMESTAMPa serial number plus a date-time cell format
BinaryBLOB / BYTEAnot representable as data
BooleanBOOLEAN / SMALLINTTRUE / FALSE (a real boolean cell)
JSONJSON / TEXTa text cell; the quotes are part of the value

Dialect differences

Both SQL and EXCEL are file formats, so what differs below is how each one chooses to represent a value.

Propertyin SQLin EXCEL
identifiersTwo competing conventions: single-quoted literals and diale...Not applicable; a cell holds exactly one value
datesDepends on the dialect: DATE literals, TO_DATE(), or plain ...Stored as a serial number; only the cell format makes it lo...
binaryDialect-specific: X-quoted literal, 0x hex, or decode()Only as text or an embedded object, not as a data column
separatorStatement terminators (;)Cells, not delimiters
encodingNo declarationUTF-8 internally, declared in the package
typingTypes belong to the target database, and they differ betwee...Real cell types: text, number, date, boolean, error
shapeStatements; a dump usually means CREATE TABLE plus INSERT rowsMultiple sheets, each a flat grid
ceilingNo formal limit, but a single INSERT statement has to fit i...1,048,576 rows x 16,384 columns per sheet; 255 sheets per w...

Data File Converter without the manual work

For batch jobs, large files and scheduling use the Data File Converter converter — an offline desktop app for Windows, Linux and macOS. Free trial.