How to display the part of the string after ':'

  • I need to display the part of the string 'Governmental - Facilities: 1000-70202-60200',

    so the expected result is '1000-70202-60200'

    In Oracle, I assume I would use substr and instr functions.

    Please give the idea how to solve the problem in SQL Server?

    Thanks

  • I have found solution,

    using functions substring and charindex

    Thanks

  • A+ for keeping at it.

    The more you are prepared, the less you need it.

Viewing 3 posts - 1 through 2 (of 2 total)

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