SQL Substring przed ostatnim wystąpieniem charakteru
SELECT LEFT(assocname, LEN(assocname) - CHARINDEX('>',REVERSE(assocname)))
Enrybi
SELECT LEFT(assocname, LEN(assocname) - CHARINDEX('>',REVERSE(assocname)))