Withdata Software

Copy SQL Server query results to Visual FoxPro table

Want to transfer data from SQL Server query results to Visual FoxPro table?

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

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 SQL Server query To Visual FoxPro table

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

Choose source SQL Server database and logon.

Choose target Visual FoxPro database and logon.

Click “Convert From Query” at task dialog.

then show the wizard.

1. Set a SQL Server query.

2. Select a destination Visual FoxPro table and config fields.

3. Preview data.

4. Transfer data from SQL Server query result to Visual FoxPro table.


More about SQL Server to Visual FoxPro converter

See also:

SQL Server → Visual FoxPro reference

Type mapping

Value kindin SQL Serverin Visual FoxPro
IntintNumeric(10,0)
BigintbigintNumeric(19,0)
Decimaldecimal(p,s)Numeric(p,s)
FloatfloatFloat
Textnvarchar(n)Character(n)
Long textnvarchar(max)Memo
DatedateDate
Datetimedatetime2DateTime
Binaryvarbinary(max)General
BooleanbitLogical
JSONnvarchar(max)(none)

Dialect differences

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

Propertyin SQL Serverin Visual FoxPro
port1433(file-based)
identifiers[square brackets]—
row limitSELECT TOP n(driver dependent)
datesdatetime, datetime2, date, timeDate (D), DateTime (T)
long textnvarchar(max)Memo (M)
binaryvarbinary(max)General (G)

Command line

SideCommand
SQL Serverbcp
SQL Server (load)bcp, or BULK INSERT

No counterpart

  • SQL Server values of kind JSON have nowhere to go in Visual FoxPro.

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.