Want to transfer data from SQLite query results to SQL Server table?
Try Withdata DBCopier, a SQLite to SQL Server converter for Windows, Mac, and Linux, Copy SQLite query to SQL Server, 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, and macOS.
Download Withdata DBCopier
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
Transfer data from SQLite query To SQL Server table
Login to SQLite and SQL Server -> Enter source SQLite query -> Set target SQL Server table -> Copy SQLite query data to SQL Server table
Choose source SQLite database and logon.
Choose target SQL Server database and logon.
Click “Convert From Query” at task dialog.
then show the wizard.
1. Set a SQLite query.
2. Select a destination SQL Server table and config fields.
3. Preview data.
4. Transfer data from SQLite query result to SQL Server table.
More about SQLite to SQL Server converter
Download Withdata DBCopier
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
See also:
- Copy SQLite table data to SQL Server
- Merge multiple similar SQLite tables to 1 SQL Server table
- Batch copy SQLite tables to SQL Server
SQLite → SQL Server reference
Type mapping
| Value kind | in SQLite | in SQL Server |
|---|---|---|
| Int | INTEGER | int |
| Bigint | INTEGER | bigint |
| Decimal | NUMERIC | decimal(p,s) |
| Float | REAL | float |
| Text | TEXT | nvarchar(n) |
| Long text | TEXT | nvarchar(max) |
| Date | TEXT | date |
| Datetime | TEXT | datetime2 |
| Binary | BLOB | varbinary(max) |
| Boolean | INTEGER | bit |
Dialect differences
Both SQLite and SQL Server are database servers, so the differences below are dialect-level: the same concept is spelled differently on each side.
| Property | in SQLite | in SQL Server |
|---|---|---|
| port | (file-based) | 1433 |
| identifiers | "double quotes" or [brackets] | [square brackets] |
| row limit | LIMIT n | SELECT TOP n |
| dates | TEXT (no date type) | datetime, datetime2, date, time |
| long text | TEXT | nvarchar(max) |
| binary | BLOB | varbinary(max) |
Command line
| Side | Command |
|---|---|
| SQLite | sqlite3 .dump |
| SQL Server | bcp |
| SQL Server (load) | bcp, or BULK INSERT |
| SQLite (load) | .import (sqlite3) |
Convert your data online, free
Free in-browser converters for CSV, Excel, JSON, XML and SQL: Withdata Online Data Conversion. Large files, batch conversion or scheduling? See the offline desktop apps, or browse all data conversion tools.