Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2011
    Location
    Washington, DC
    Posts
    3

    Unanswered: parsing text data type for CHAR(10)

    Running ASE 11.9. I have a text data type (column = longvalue) that is used to store multiple fields of data separated by LF. I need to be able select a specific field/string from within the longvalue column. To do that I assume I have to count the LF's and then select my string from that position. I'm not an SQL expert and don't know how to count the LF/Char(10). Any hints would be appreciated.

  2. #2
    Join Date
    May 2005
    Location
    South Africa
    Posts
    1,365
    Provided Answers: 1
    You will probable end with some messy combination of substring(charindex

Tags for this Thread

Posting Permissions

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