I need to be able to remove all characters after the last hyphen in a string (including the hypen).
Example data would be similar to -> COMPUTER-LOAN-WEST
COMPUTER-LOAN-SOUTH
COMPUTER-LOAN-NORTH
COMPUTER-LOAN-CANADA
Output of select statement should be -> COMPUTER-LOAN
Only data after the last hyphen should ever be removed.