SAVE HISTORY
Save the current history list to a file.
By default ODXSQL commands are automatically saved to a history file
named .odxsql_history in the current working directory. However, this
file is over-written when the next ODXSQL session begins.
The SAVE HISTORY command will save the current history list to a different
file, odxsqlsave by default, that can be re-used or edited as needed.
Syntax
SAVE HISTORY [[TO] filename] [WITH options]
SAVE HISTORY
Required.
TO filename
Optional. filename is the output filespec. This can be a fully qualified
or relative filespec. The TO keyword is optional.
WITH options
Optional. A comma separated list of options to apply to this command.
Options
Example
The following example will save the history to the default file named
odxsqlsave in the current working directory:
> save history
The following example will save the history to a file named mysavefile.txt
in the current working directory:
> save history to mysavefile.txt
The following example will save the history to a file named mysavefile.txt
in the demodata directory, relative to the current working directory:
> save history ../demodata/mysavefile.txt
The following example will save the history to a file named mysavefile
in the omnidex directory:
> save history c:\omnidex\mysavefile
Top
|