How do I remove the last character in a string in T-SQL?
T-SQL
For example:
\'TEST STRING\'
to return:
\'TES
Try this:
select substring('test string', 1, (len('test string') - 1))