Tuesday, May 14, 2019

Get the String from last occurrence of specific character / text in SQL

Select right(ColumnName, charindex('/', reverse(ColumnName) + '/') - 1) From TableName

No comments:

Post a Comment