Hello Everyone and good evening.
Could anyone help with this.
DECLARE @ListSplitName TABLE(Name VARCHAR(255))
INSERT INTO @ListSplitName
VALUES
('Inv 3225366, BUK-100694, London Distribution Solutions B, PICKING 37,531 @£0.20')
SELECT * FROM @ListSplitName;
I have tried using this function - substring(name , charindex(',',name)+2,LEN(name)) from FROM @ListSplitName but, is not doing the job
I only want BUK-00694 from the string.
Any help would be apprciated.
Thanks