Want to transfer data from SQLite table to SQL Server ?
Try Withdata DBCopier, a SQLite to SQL Server converter for Windows, Mac, and Linux, Copy SQLite data 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 table To SQL Server table
Login to SQLite and SQL Server -> Choose source SQLite table -> Set target SQL Server table -> Copy SQLite data to SQL Server
Choose source SQLite database and logon.
Choose target SQL Server database and logon.
Click “Convert From Table” at task dialog.
then show the wizard.
1. Open a source SQLite table.
2. Select a destination SQL Server table and config fields.
3. Preview data.
4. Import SQLite data to SQL Server.
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 Video: Copy data from SQLite table to SQL Server table in a few clicks
See also:
- Copy SQLite query results to SQL Server table
- 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.