title: How to take some data in one string after getting particular condition
body: <p>I have a stirng in one column. Column Name is PreviousStageIDs. In this column I have a String data as 12150, 13250. I want to run SQL statement to seprate 12150 using quama as condition. Means in this string when quama found then sql must take all the data before quama.
  Help me in this matter....
  Thank in advance.</p>
  
  <p>JAY....</p>
  
  <p>12150 is not fix one time it is 12150 second time it will be 14830. I wan to take only that string which is before comma.</p>
  
  <p>JAY</p>