I have a table like this
Value String ------------------- 1 Cleo, Smith
I want to separate the comma delimited string into two colu
I think this is cool
SELECT value, PARSENAME(REPLACE(String,',','.'),2) 'Name' , PARSENAME(REPLACE(String,',','.'),1) 'Sur Name' FROM table WITH (NOLOCK)