Merge multiple similar SQLite tables to 1 Redshift table

Want to transfer data from multiple similar SQLite tables to 1 Redshift table?

Try Withdata DBCopier, a SQLite to Redshift converter for Windows, Mac, and Linux, Copy SQLite data to Redshift, Easy and Fast.

Download Withdata DBCopier Download DBCopier

Transfer data from multiple similar SQLite tables to a single Redshift table

Login to SQLite and Redshift -> Select source SQLite tables -> Set the target Redshift table -> Copy SQLite data to Redshift

Choose source SQLite database and logon.

convert SQLite data to Redshift data - Choose SQLite and logon

Choose target Redshift database and logon.

convert SQLite data to Redshift data - Choose Redshift and logon

Click “Convert Similar Tables” at task dialog.

Import data from multiple similar SQLite tables to 1 Redshift table - Task Window

then show the wizard.

1. Select similar SQLite tables.

Convert data from multiple similar SQLite tables to 1 Redshift table - open query results

2. Select a destination Redshift table and config fields.

Combine multiple similar SQLite tables data to a single Redshift table - select table

3. Preview data.

Migrage data from multiple similar SQLite tables to 1 Redshift table - preview

4. Import data from multiple similar SQLite tables to a single Redshift table.

Merge multiple similar SQLite tables to a single Redshift table - import


More about SQLite to Redshift converter

See also:

SQLite → Redshift reference

Type mapping

Value kindin SQLitein Redshift
IntINTEGERinteger
BigintINTEGERbigint
DecimalNUMERICnumeric(p,s)
FloatREALdouble precision
TextTEXTvarchar(n)
Long textTEXTvarchar(max)
DateTEXTdate
DatetimeTEXTtimestamp
BinaryBLOB(none)
BooleanINTEGERboolean
JSONTEXTsuper

Dialect differences

Both SQLite and Redshift are database servers, so the differences below are dialect-level: the same concept is spelled differently on each side.

Propertyin SQLitein Redshift
port(file-based)5439
identifiers"double quotes" or [brackets]"double quotes"
datesTEXT (no date type)timestamp, date
long textTEXTVARCHAR(MAX)
binaryBLOB—

Command line

SideCommand
SQLitesqlite3 .dump
RedshiftUNLOAD to S3
Redshift (load)COPY from S3
SQLite (load).import (sqlite3)

No counterpart

  • SQLite values of kind Binary have nowhere to go in Redshift.

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.


Posted

in

by