Hi,I have a MS SQL column containing a string that i would like to split. I would like to create 2 separate column for the split string.Below is a sample data. including the result that i would like to do in my string (RESULT1 and RESULT2) column. Thank you in advance.drop table #sampleCreate table #sample(Item nvarchar(35),RESULT1 nvarchar(35), RESULT2 nvarchar(35))Insert into #sample (Item,RESULT1, RESULT2 ) values ('PHELL3001710TRDMAXX','PHELL3001710','TRDMAXX')Insert into #sample (Item,RESULT1, RESULT2 ) values ('TPG6002-RTR','TPG6002','TPG6002')Insert into #sample (Item,RESULT1, RESULT2 ) values ('PHELL3001710BROIDBIO','PHELL3001710','BROIDBIO')Insert into #sample (Item,RESULT1, RESULT2 ) values ('DHELL3001720BRDXINIBLK','DHELL3001720','BRDXINIBLK')Insert into #sample (Item,RESULT1, RESULT2 ) values ('NOT3920-IR','NOT3920','NOT3920')Insert into #sample (Item,RESULT1, RESULT2 ) values ('CTC2577','CTC2577','CTC2577')Insert into #sample (Item,RESULT1, RESULT2 ) values ('PHELL3001725BRZRMCROWHT','PHELL3001725','BRZRMCROWHT')Insert into #sample (Item,RESULT1, RESULT2 ) values ('PHELL3004430M8SIL','PHELL3004430','M8SIL')Insert into #sample (Item,RESULT1, RESULT2 ) values ('PHELL3004410ONE','PHELL3004410','ONE')--Select * from #sampleSelect Item, CASE WHEN LEN(Item ) = 7 THEN LEFT(Item ,7) WHEN LEN(Item ) = 11 OR LEN(Item )= 10 OR LEN(Item )= 9 THEN LEFT(Item ,7) ELSE Item END AS RESULT, RESULT1, RESULT2 from #sample order by ITEM