Results 1 to 3 of 3
  1. #1
    Join Date
    May 2004
    Posts
    14

    Unanswered: How to write a function for MS SQL 2005 to save value after underscore?

    Hi Gurus,

    How do I write a T-SQL function for a string before a underscore is found?


    Thanks Gurus.

  2. #2
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    Look up the various string functions, such as LEFT(), and CHARINDEX().
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

  3. #3
    Join Date
    May 2004
    Posts
    14

    Thanks for your prompt response.

    Thanks. I will try that out.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •