SyntaxFix
Write A Post
Hire A Developer
Questions
Use the RIGHT() function: http://msdn.microsoft.com/en-us/library/ms177532(v=sql.105).aspx
RIGHT()
SELECT RIGHT( '1234567890', 4 ); -- returns '7890'