Синтаксис:
UNLOAD TO имя файла [ DELIMITER Символ ] SELECT-команда;
Описание:
Используется для того, чтобы записывать результат SELECT-команды в текстовый файл. В качестве разделителя полей данных в строке может использоваться любой символ. Если разделитель не указан, то '|' используется по умолчанию.
Пример:
UNLOAD TO 'allorders.txt' DELIMITER '|' SELECT * FROM torder;
Сохраняет все данные таблицы torder в текстовом файле allorders.txt, в качестве разделителя полей используется |.
Copyright © 2009. This Object (page with whole content) is open source and can be modifyed and/or copyed unter der terms and conditions of the Universal General Public License (UGPL). This statement does not apply to the UGPL, the copyright statement of this site itself and the logo (top left image on each page). The logo image may be copyed with the page itself, but changing it is not allowed. All other rights on this image are reserved too.