Use the @STRTRIM
function to trim leading and trailing spaces.
For this function, Oracle GoldenGate supports the use of an escape sequence to represent characters in a string column in Unicode or in the native character encoding of the Microsoft Windows, UNIX, and Linux operating systems. The target column must be a SQL Unicode data type if any argument is supplied as Unicode.
Syntax
@STRTRIM (string)
Example
pin_no = @strtrim (custpin)