Returns trailing space
We are having an issue in oracle 9i database (A) where a query that includes a literal value returns trailing spaces and that is causing the data being extracted to be invalid. I have tried the same thing in a number of other databases – B, C, D…. and only “A” performs this way.
Below is an example (not the actual query, this is just an example to show the behavior).
The A(database) query returns 'X' and 31 trailing spaces. When I run in B(database) 'X' returns just 'X'. Why is this happening and how can i fix it?