title: Read comma separated string in Sql server in loop
body: <p>I have nvarchar data like this:</p>
  
  <p>'20030,20031,20033,20034,20065,20045,20044'</p>
  
  <p>I want to read all this by spliting into array or read one by one in spliting process and do further process.</p>
  
  <p>I have tried this <a href="https://blogs.msdn.microsoft.com/amitjet/2009/12/11/convert-comma-separated-string-to-table-4-different-approaches/" rel="nofollow noreferrer">good article</a> but not able to do it.</p>