Batch copy SQL Server tables to Redshift

Want to batch copy data from SQL Server tables to Redshift?

Try Withdata DBCopier, a SQL Server to Redshift converter for Windows, Mac, and Linux, Bulk copy SQL Server to Redshift, Easy and Fast.

Download Withdata DBCopier Download DBCopier

Batch copy data from SQL Server tables to Redshift tables

Login to SQL Server and Redshift -> Select source SQL Server tables -> Set target Redshift tables -> Copy SQL Server data to Redshift

Choose source SQL Server database and logon.

convert SQL Server data to Redshift data - Choose SQL Server and logon

Choose target Redshift database and logon.

convert SQL Server data to Redshift data - Choose Redshift and logon

Click “Convert All Tables” at task dialog.

Batch import data from SQL Server tables to Redshift tables - Task Window

then show the wizard.

1. Select source SQL Server tables.

Batch convert data from SQL Server tables to Redshift tables - Open Source schema

2. List target Redshift tables.

Batch extract data from SQL Server tables to Redshift tables - select destination schema

3. Select Redshift tables to import.

Batch import data from SQL Server tables to Redshift tables - select tables

4. Transfer data from SQL Server tables to Redshift.

Batch copy data from SQL Server tables to Redshift tables - batch import


More about SQL Server to Redshift converter

See also:

SQL Server → Redshift reference

Type mapping

Value kindin SQL Serverin Redshift
Intintinteger
Decimaldecimal(p,s)numeric(p,s)
Floatfloatdouble precision
Textnvarchar(n)varchar(n)
Long textnvarchar(max)varchar(max)
Datetimedatetime2timestamp
Binaryvarbinary(max)(none)
Booleanbitboolean
JSONnvarchar(max)super

Dialect differences

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

Propertyin SQL Serverin Redshift
port14335439
identifiers[square brackets]"double quotes"
row limitSELECT TOP nLIMIT n
datesdatetime, datetime2, date, timetimestamp, date
long textnvarchar(max)VARCHAR(MAX)
binaryvarbinary(max)—

Command line

SideCommand
SQL Serverbcp
RedshiftUNLOAD to S3
Redshift (load)COPY from S3
SQL Server (load)bcp, or BULK INSERT

No counterpart

  • SQL Server 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