Hi everyone,
I need to split a sentence into it's seperate words and those words can then be in their own columns.
I have managed to split the first word by doing the following:
SELECT
BRANCHNAME,
SUBSTRING(BRANCHNAME, 1, NULLIF(CHARINDEX(' ', BRANCHNAME) - 1, -1)) AS [FirstWord]...