truncating empty string

  • hi all, I want to know how can i truncate the empty string after the address.

     

    eg: column --> Address1

    '1223 main lane                           ' i want to truncate the string after the text over to '1223 main lane'

     

    advise please

    thanks

  • select rtrim(Address1) as Address1 from .....

    ______________________________________________________________________

    Personal Motto: Why push the envelope when you can just open it?

    If you follow the direction given HERE[/url] you'll likely increase the number and quality of responses you get to your question.

    Jason L. Selburg

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply