4D v14.3SQL EXPORT SELECTION |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D v14.3
SQL EXPORT SELECTION
SQL EXPORT SELECTION
The SQL EXPORT SELECTION command exports in SQL format the records of the current selection of the 4D table designated by the aTable parameter. This command is nearly identical to the SQL EXPORT DATABASE command. The file generated can be used directly by the [#cmd id="1089"/] command in order to import data into another 4D database. The main difference between these two commands is that SQL EXPORT SELECTION only exports the current selection of aTable whereas SQL EXPORT DATABASE exports the entire database. Also, unlike the SQL EXPORT DATABASE command, this command does not work with external SQL databases. It can only be used with the main database. Refer to the description of the SQL EXPORT DATABASE command for a detailed description of the functioning and parameters of these commands. If the current selection is empty, the command does nothing. Note that in this case, the destination folder is not emptied. If the export is carried out correctly, the OK variable is set to 1. Otherwise, it is set to 0. |
PROPERTIES
Product: 4D
HISTORY
Created: 4D v12 SEE ALSO TAGS Dump ARTICLE USAGE
4D Language Reference ( 4D v12.4) |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||