I have a field called name. I'm trying to take both the first and last name from the full name field and put them into seperate field called firstname and lastname.
UPDATE TEST
SET LASTNAME = PARSENAME(REPLACE(NAME, ', ',), 2),
SET FIRSTNAME = PARSENAME)REPLACE(NAME, ', ',),1)
getting error message 'incorrect syntax near ')'
any help would be appreciated
UPDATE TEST
SET LASTNAME = PARSENAME(REPLACE(NAME, ', ',), 2),
SET FIRSTNAME = PARSENAME)REPLACE(NAME, ', ',),1)
getting error message 'incorrect syntax near ')'
any help would be appreciated