Want to transfer data from MySQL query results to FoxPro table?
Try Withdata DBCopier, a MySQL to FoxPro converter for Windows, Mac, and Linux, Copy MySQL query to FoxPro, 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.
Transfer data from MySQL query To FoxPro table
Login to MySQL and FoxPro -> Enter source MySQL query -> Set target FoxPro table -> Copy MySQL query data to FoxPro table
Choose source MySQL database and logon.

Choose target FoxPro database and logon.

Click “Convert From Query” at task dialog.

then show the wizard.
1. Set a MySQL query.

2. Select a destination FoxPro table and config fields.

3. Preview data.

4. Transfer data from MySQL query result to FoxPro table.

More about MySQL to FoxPro converter
See also:
- Copy MySQL table data to FoxPro
- Merge multiple similar MySQL tables to 1 FoxPro table
- Batch copy MySQL tables to FoxPro
MySQL → FoxPro reference
Type mapping
| Value kind | in MySQL | in FoxPro |
|---|---|---|
| Int | INT | Numeric(10,0) |
| Bigint | BIGINT | Numeric(19,0) |
| Decimal | DECIMAL(p,s) | Numeric(p,s) |
| Float | DOUBLE | Float |
| Text | VARCHAR(n) | Character(n) |
| Long text | LONGTEXT | Memo |
| Date | DATE | Date |
| Datetime | DATETIME | (none) |
| Binary | LONGBLOB | General |
| Boolean | TINYINT(1) | Logical |
| JSON | JSON | (none) |
Dialect differences
Both MySQL and FoxPro are database servers, so the differences below are dialect-level: the same concept is spelled differently on each side.
| Property | in MySQL | in FoxPro |
|---|---|---|
| port | 3306 | (file-based) |
| identifiers | `backtick` | — |
| row limit | LIMIT n | (driver dependent) |
| dates | DATETIME, TIMESTAMP, DATE, TIME | Date (D) |
| long text | TINYTEXT / TEXT / MEDIUMTEXT / LONGTEXT | Memo (M) |
| binary | BLOB / TINYBLOB / LONGBLOB | General (G) |
Command line
| Side | Command |
|---|---|
| MySQL | mysqldump, or mysql -e "SELECT ..." > out.csv |
| MySQL (load) | mysqlimport, or LOAD DATA INFILE |
No counterpart
- MySQL values of kind Date and time have nowhere to go in FoxPro.
- MySQL values of kind JSON have nowhere to go in 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.
