I'm not aware of any text qualifier in the BTEQ utility, you may need to substitue the delimiters within data with something else.
On a UNIX/Linux machine, I would do this like:
.OS mv fileName fileName.tmp && sed ':loop s:"\([0-9a-zA-Z/]\+\)|:"\1^:g; t loop' fileName.tmp > fileName
This will replace the delimiters within double quotes with a ^ sign. Google "man 7 regex" and "man sed" for detailed explanations.
The .OS command in BTEQ runs an operating system command from within the BTEQ utility. On Windows, you can write a fragment of C code for this and call the executable with .OS command.
↧