I have this udf that I'm trying to create. I'm following an example of using while from the manual. However I receive a syntax error. I'm using ASA Anyhwere 7.0. Any help would be greatly be appreciated.
CREATE FUNCTION sf_last_charindex(@delim varchar(30),