Want to transfer data from Redshift query results to SQL Server table?
Try Withdata DBCopier, a Redshift to SQL Server converter for Windows, Mac, and Linux, Copy Redshift 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 Redshift query To SQL Server table
Login to Redshift and SQL Server -> Enter source Redshift query -> Set target SQL Server table -> Copy Redshift query data to SQL Server table
Choose source Redshift database and logon.
Choose target SQL Server database and logon.
Click “Convert From Query” at task dialog.
then show the wizard.
1. Set a Redshift query.
2. Select a destination SQL Server table and config fields.
3. Preview data.
4. Transfer data from Redshift query result to SQL Server table.
More about Redshift 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 Redshift table data to SQL Server
- Merge multiple similar Redshift tables to 1 SQL Server table
- Batch copy Redshift tables to SQL Server
Redshift → SQL Server reference
Type mapping
| Value kind | in Redshift | in SQL Server |
|---|---|---|
| Int | integer | int |
| Decimal | numeric(p,s) | decimal(p,s) |
| Float | double precision | float |
| Text | varchar(n) | nvarchar(n) |
| Long text | varchar(max) | nvarchar(max) |
| Datetime | timestamp | datetime2 |
| Binary | (none) | varbinary(max) |
| Boolean | boolean | bit |
| JSON | super | nvarchar(max) |
Dialect differences
Both Redshift and SQL Server are database servers, so the differences below are dialect-level: the same concept is spelled differently on each side.
| Property | in Redshift | in SQL Server |
|---|---|---|
| port | 5439 | 1433 |
| identifiers | "double quotes" | [square brackets] |
| row limit | LIMIT n | SELECT TOP n |
| dates | timestamp, date | datetime, datetime2, date, time |
| long text | VARCHAR(MAX) | nvarchar(max) |
| binary | — | varbinary(max) |
Command line
| Side | Command |
|---|---|
| Redshift | UNLOAD to S3 |
| SQL Server | bcp |
| SQL Server (load) | bcp, or BULK INSERT |
| Redshift (load) | COPY from S3 |
No counterpart
- SQL Server has no equivalent for Binary - it has to be flattened or dropped.
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.