Sql Get String From Charindex Function In Sql