How to return data without deliminators?

  • Hi all,

    I'm trying to return data from a table that contains data as following format;

    1,2,3,4,5... and so on up to 15 numbers.

    Is there any way to write a sql to get just numbers only without ,?

    Thanks for your help.

     

  • Do u need like 1234567891011........15 or u want to manipulate each and every number.

    If its 2nd,then make use of while loop by checking the length of the returned string

     

  • Hi,

    If you need to extract values from a comma delimited list, read this - some nice methods and evaluation of performance there.

    http://www.sommarskog.se/arrays-in-sql.html

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

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