April 29, 2012 at 2:37 pm
Here this works for me.
SELECT Name,REVERSE(right(REVERSE(Name),12)) from sys.databases
model model
msdb msdb
Test5K Test5K
AdventureWorks AdventureWor
Test5K_snapshot Test5K_snaps
Viewing post 16 (of 16 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy