select left(@String, charindex(',', @String)-1) as Col1,
right(@String, len(@String)-charindex(',', @String)) as Col2;
Replace "@String" with your column name, and add "From " and your table name. Replace "Col1" and "Col2" with your desired column names.
- Gus "GSquared", RSVP, OODA, MAP, NMVP, FAQ, SAT, SQL, DNA, RNA, UOI, IOU, AM, PM, AD, BC, BCE, USA, UN, CF, ROFL, LOL, ETC
Property of The Thread
"Nobody knows the age of the human race, but everyone agrees it's old enough to know better." - Anon