Copy SQL Server query results to Redshift table

Want to transfer data from SQL Server query results to Redshift table?

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

Download Withdata DBCopier Download DBCopier

Transfer data from SQL Server query To Redshift table

Login to SQL Server and Redshift -> Enter source SQL Server query -> Set target Redshift table -> Copy SQL Server query data to Redshift table

Choose source SQL Server database and logon.

convert SQL Server query to Redshift table - Choose SQL Server and logon

Choose target Redshift database and logon.

save SQL Server query results to Redshift table - Choose Redshift and logon

Click “Convert From Query” at task dialog.

Import data from SQL Server query results to Redshift table - Task Window

then show the wizard.

1. Set a SQL Server query.

Convert data from SQL Server query results to Redshift table - open query results

2. Select a destination Redshift table and config fields.

Extract SQL Server query results data to Redshift table - select table

3. Preview data.

Migrage data from SQL Server query results to Redshift table - preview

4. Transfer data from SQL Server query result to Redshift table.

save data from SQL Server query results to Redshift table - 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