risa.86 Starting Member
India 3 Posts
khtan In (Som, Ni, Yak)
Singapore 16746 Posts
select right('00' + convert(varchar(2), Id), 2) + '-' + Name
madhivanan Premature Yak Congratulator
India 22460 Posts
quote:Originally posted by madhivanan<<I am not able to execute it using || or CONCAT since Id has the data type int and Name is a string.>>This is SQL Server ForumIf your question is related to ORACLE then post at Oracle related ForumMadhivananFailing to plan is Planning to fail
afrika Flowing Fount of Yak Knowledge
Nigeria 2702 Posts