Exporting Data

Syntax

Run the following command to export data:
1
INSERT INTO [Foreign table name] SELECT * FROM [Source table name];

Examples

  • The directory to be used for data storage must be empty, or the export will fail.
  • Data of a special type, such as RAW, is exported as a binary file, which cannot be recognized by the import tool. You need to use the RAWTOHEX() function to convert it to the hexadecimal format before export.