On Mon, Nov 27, 2017 at 1:10 PM, <[email protected]> wrote:
> I think there's a misunderstanding. Please tell me how using a COPY TO > MyCSVFile TYPE CSV can be manipulated with a TRIM or ALLTRIM? You *COULD* do it with the FIELDS clause, IIRC, but it's much more understandable if you use SELECT ... INTO CURSOR to do the preprocessing, data manipulation, reordering, filtering, etc with a Rushmore-izable query, then do a COPY TO TYPE CSV with the result. The *best* way is to not put the trailing spaces into the varchar fields to begin with :) -- Ted Roche Ted Roche & Associates, LLC http://www.tedroche.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/CACW6n4vvYV-4FiJsG=2=dmquMU9AOCJM9A_LOuv=sevwpzb...@mail.gmail.com ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

