Friday, March 9, 2012

Removing non-printable characters

I need to remove all non-printable characters in my text and memo fields. Does SQL handle this?
Thanks in Advance!!Which SQL engine, and how do you define "printable" characters?

-PatP|||In oracle

replace(your_dirty_field,chr(10),null) will do.

You have to do one by one this way. I am not sure if translate() will do better. I think it won't even work. It never hurts to try but you can do it just as well. (That is if you have oracle)

No comments:

Post a Comment