LEN function

  • 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

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

Viewing post 16 (of 15 total)

You must be logged in to reply to this topic. Login to reply