Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Nirmala Kesavan wrote:
> Hi,
> Can anyone tell me how right justification can be done in string
>
>
> Regards
> Nirmala
SELECT SUBSTR(LPAD(someColumn,10,' '),-10,10) FROM myTable;
In this example I've justified the string with spaces and ensured the
total length of the returned string will be 10, I'll leave it to you to
make it more generic etc. but there's more than enough to get you
started ;-)
Rich
Your privacy choices
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.