Schedule and automate Visual FoxPro to Redshift task

Want to schedule and automate from Visual FoxPro to Redshift copy data task?

Try Withdata DB Copier, a desktop tool, you can scheduled Visual FoxPro to Redshift copy data task easily, just a few mouse clicks!

Let computer automate repetitive Visual FoxPro to Redshift transfer data busy work, DB Copier make our life easier!

Here you can download and install DB Copier.

Schedule and automate Visual FoxPro to Redshift data task

1. Select and run a task from follow list:

2. Save session and create .bat file.

3. Set scheduled task.


More about Withdata DBCopier – the tool to copy Visual FoxPro data to Redshift

30-day free trial Download DBCopier

Visual FoxPro → Redshift reference

Type mapping

Value kindin Visual FoxProin Redshift
IntNumeric(10,0)integer
BigintNumeric(19,0)bigint
DecimalNumeric(p,s)numeric(p,s)
FloatFloatdouble precision
TextCharacter(n)varchar(n)
Long textMemovarchar(max)
DateDatedate
DatetimeDateTimetimestamp
BinaryGeneral(none)
BooleanLogicalboolean
JSON(none)super

Dialect differences

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

Propertyin Visual FoxProin Redshift
port(file-based)5439
identifiers—"double quotes"
row limit(driver dependent)LIMIT n
datesDate (D), DateTime (T)timestamp, date
long textMemo (M)VARCHAR(MAX)
binaryGeneral (G)—

Command line

SideCommand
RedshiftUNLOAD to S3
Redshift (load)COPY from S3

No counterpart

  • Visual FoxPro values of kind Binary have nowhere to go in Redshift.
  • Redshift has no equivalent for JSON – 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.


Posted

in

by