Using T-SQL, how would I go about getting the last 3 characters of a varchar column?
So the column text is IDS_ENUM_Change_262147_190
IDS_ENUM_Change_262147_190
SELECT RIGHT(column, 3)
That's all you need.
You can also do LEFT() in the same way.
LEFT()
Bear in mind if you are using this in a WHERE clause that the RIGHT() can't use any indexes.
WHERE
RIGHT()