AutoTrim for Input/Output objects
AutoTrim for Input/Output objects
I would like to see a built-in switch, either at a stage level or even at a column level, that would perform a TRIM() of all leading and trailing spaces plus 0x000 characters for VarChar columns in both Server and Px plus the same for CHAR columns in Server. I invariably end up doing this when my data sources are dubious and having an (efficient) automated way to do this would be a great help.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Presumably by "spaces" you mean "white space" (which includes tab characters) for non-NLS or characters designated as TRIMMABLE in the CTYPE locale category where NLS is enabled?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Ray - Yes, I do I can't think of a non-trivial job in either Server or Px where I didn't at least once have to do some sort of a TRIM - even if it was just a prophylactic measure.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>