Created
November 10, 2014 20:51
-
-
Save freshcutdevelopment/6d06f5438174fedb3d79 to your computer and use it in GitHub Desktop.
Returns the substring of a given DB field starting from the last index of the given CHAR input
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REVERSE(SUBSTRING(REVERSE([FIELD_NAME]), 0, CHARINDEX('CHAR', REVERSE([FIELD_NAME])))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment