Want to convert EXCEL file to SQL file from cloud storage or website?
Try Withdata Data File Converter, a Excel to SQL converter for Windows, MacOS, and Linux, Convert cloud Excel to SQL, Easy and Fast.
- Can run in GUI mode, Step by Step, just a few mouse clicks.
- Can run in Command line, for Scheduled Tasks and Streams.
- Support Windows, Linux, macOS.
Download Withdata 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
Convert cloud EXCEL to SQL file
Click “Start a New Convert” at task dialog.
then show the wizard.
Select source/target file type.
1. Input the EXCEL URL, and download the EXCEL file.
2. Open the saved EXCEL file.
3. Config target SQL file.
4. Set rows options.
5. Convert cloud EXCEL to SQL.
See SQL file
Convert cloud Excel to SQL in command line
Save “Excel to SQL” session, then you can:
- Convert cloud Excel to SQL in Windows command line.
- Convert cloud Excel to SQL in Linux command line.
- Convert cloud Excel to SQL in macOS command line.
Set scheduled tasks for converting cloud Excel to SQL
You can schedule and automate this converting task by:
- Save session and create .bat (Windows) or .sh (Linux/macOS) file for “Cloud Excel to SQL” conversion.
- Set scheduled task for “Cloud Excel to SQL” conversion.
FAQ
More about Withdata DataFileConverter – Cloud Excel to SQL converter
Download Withdata 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
EXCEL → SQL reference
Type mapping
| Value kind | in EXCEL | in SQL |
|---|---|---|
| Int | 1234 (a real numeric cell) | INT |
| Bigint | 9007199254740993 (exact only while the cell stays text) | BIGINT |
| Decimal | 1234.56 (numeric cell, format controls the displayed decimals) | DECIMAL(p,s) |
| Float | 1.234E+10 (numeric cell) | DOUBLE PRECISION |
| Text | text cell; leading zeros survive only if the column is text | VARCHAR(n) |
| Long text | text cell; wraps inside the cell rather than the row | TEXT / CLOB |
| Date | a serial number plus a date cell format | DATE |
| Datetime | a serial number plus a date-time cell format | TIMESTAMP |
| Binary | not representable as data | BLOB / BYTEA |
| Boolean | TRUE / FALSE (a real boolean cell) | BOOLEAN / SMALLINT |
| JSON | a text cell; the quotes are part of the value | JSON / TEXT |
Dialect differences
Both EXCEL and SQL are file formats, so what differs below is how each one chooses to represent a value.
| Property | in EXCEL | in SQL |
|---|---|---|
| identifiers | Not applicable; a cell holds exactly one value | Two competing conventions: single-quoted literals and diale... |
| dates | Stored as a serial number; only the cell format makes it lo... | Depends on the dialect: DATE literals, TO_DATE(), or plain ... |
| binary | Only as text or an embedded object, not as a data column | Dialect-specific: X-quoted literal, 0x hex, or decode() |
| separator | Cells, not delimiters | Statement terminators (;) |
| encoding | UTF-8 internally, declared in the package | No declaration |
| typing | Real cell types: text, number, date, boolean, error | Types belong to the target database, and they differ betwee... |
| shape | Multiple sheets, each a flat grid | Statements; a dump usually means CREATE TABLE plus INSERT rows |
| ceiling | 1,048,576 rows x 16,384 columns per sheet; 255 sheets per w... | No formal limit, but a single INSERT statement has to fit i... |
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.