oracle database trim inoperative @lianghuan

Datastage software used in the project to import data to oracle sqlserver database in time, there are some spaces, however, use trim corresponding fields found no effect, there is a space, and not removed.
Use length (...) and lengthb (...) to view the characters in length and the number of bytes total number of spaces corresponding to the number of bytes found wrong.
 
After the meal can be found using the search function built to_single_byte oracle of (...) to convert into normal space can trim the first illegal spaces.

Guess you like

Origin www.cnblogs.com/lianghuan/p/12165981.html