I have written a new script for csv file export, which writes lines to a %Library.File file based on a SQL query.
The code is simplified into the following as
try// set up file as %Libary.FilesetDECLARECURSORFORThe SQL table has two columns a and b, whose values can contain special characters. For the example, say the characters are エッジ
.png)


