hi @dharmendr
Thanks for the wonderful explanation. The SQL Query below helped me to achieve my requirement.
select concat((select distinct case when CHARINDEX('.', SrNo) > 0
then SUBSTRING(SrNo, 0, CHARINDEX('.', SrNo)) else SUBSTRING(SRNO, CHARINDEX('.', SrNo) + 1, LEN(SRNO)) end
from tbl_Material_Req where Req_No = '"+ s_reqNo + "'),'.' , max( case when CHARINDEX('.', SrNo) > 0 then CAST(SUBSTRING(SRNO, CHARINDEX('.', SrNo) + 1, LEN(SRNO)) AS int) else 0 end )) as srno from tbl_Material_Req where Req_No = '"+ s_reqNo + "'