Find Extra Spaces

  • Hi People

    Do you know of anyway to remove leading "Spaces" from a VARCHAR field?

    These can be anything up to 5 characters in from the start of the field.

    Rather than do a manual time consuming updates of fileds, I would like to develop a sproc to do this for me.

    Any tips / ideas / sprocs you have would be appriciated.

    Thanks

    Ant

  • Lookup LTRIM in BOL.

    ______________________________________________________________________

    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