Database Administration (MOSC)

MOSC Banner

Returns trailing space

edited Sep 11, 2012 12:22AM in Database Administration (MOSC) 6 commentsAnswered ✓
Hi

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?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center