Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2009
    Posts
    9

    Red face Unanswered: Split Values 12|3|43

    hi guys

    I know what I need, but not sure how to do it..


    a) Store values in a database field like: 12|3|43
    b) How to retrieve these values as seperate variables.

    Appreciate any help!

    Thanks

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    a) don't!! -- normalize your data instead

    b) with normalized data, b) becomes trivial

    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

  3. #3
    Join Date
    Apr 2009
    Posts
    9
    oh Thanks for reply and sujjestion.

Posting Permissions

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