String attribute that specifies the name that should be used in the file name other than the default. The output file will be generated in the current working directory of the process calling the rdm_dbExport() function unless a path specification is given in the file specification.
For example, the default file name for a CSV file is: <dbname>_<tablename>
.csv
Setting the output to: myFileName
will produce the following for an extract of the example BOOKSHOP database:
optString
= "type=CSV;output=myFileName"
Output files generated:
- Note
- A full file specification can be used in the
output
designation. For example,"output=/myDirectory/Path/myFileName"
.
If a file extension is provided in the output
file name specification, that extension will be included in the <dbname> replacement and will NOT be the extension of the file, for example:
optString
= "type=CSV;output=myFileName.txt"
Output files generated: