Want to schedule and automate from SQL Server to Redshift copy data task?
Try Withdata DB Copier, a desktop tool, you can scheduled SQL Server to Redshift copy data task easily, just a few mouse clicks!
Let computer automate repetitive SQL Server to Redshift transfer data busy work, DB Copier make our life easier!
Here you can download and install DB Copier.
Schedule and automate SQL Server to Redshift data task
1. Select and run a task from follow list:
- Merge multiple similar SQL Server tables to 1 Redshift table
- Batch copy SQL Server tables to Redshift
- Copy SQL Server query results to Redshift table
- Copy SQL Server table data to Redshift
- Migrate SQL Server to Redshift
- Sync data from SQL Server to Redshift
- Convert SQL Server To Redshift
2. Save session and create .bat file.
More about Withdata DBCopier – the tool to copy SQL Server data to Redshift
SQL Server → Redshift reference
Type mapping
| Value kind | in SQL Server | in Redshift |
|---|---|---|
| Int | int | integer |
| Decimal | decimal(p,s) | numeric(p,s) |
| Float | float | double precision |
| Text | nvarchar(n) | varchar(n) |
| Long text | nvarchar(max) | varchar(max) |
| Datetime | datetime2 | timestamp |
| Binary | varbinary(max) | (none) |
| Boolean | bit | boolean |
| JSON | nvarchar(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.
| Property | in SQL Server | in Redshift |
|---|---|---|
| port | 1433 | 5439 |
| identifiers | [square brackets] | "double quotes" |
| row limit | SELECT TOP n | LIMIT n |
| dates | datetime, datetime2, date, time | timestamp, date |
| long text | nvarchar(max) | VARCHAR(MAX) |
| binary | varbinary(max) | — |
Command line
| Side | Command |
|---|---|
| SQL Server | bcp |
| Redshift | UNLOAD 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.