1. Create trigger to generate Unicode code name for each trainee
Example: vijay and today date as 02-07-2015
Vij_Nacre_02-07-2015
1. Create trigger to generate Unicode code name for each trainee
Example: vijay and today date as 02-07-2015
Vij_Nacre_02-07-2015
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Jignesh TrivediPosted Nov 17, 2015, 5:26 AM
Hi,
Try following code, it might help you.
Create table #emp
(Id int, name varchar(50))
Insert into #emp values(1,'Jignesh')
Insert into #emp values(2,'Tejas')
select name + '_Welcome_' + CONVERT(char(10), GetDate(),126) from #emp
Arvind ChourasiyaPosted Nov 17, 2015, 6:45 AM
Arvind ChourasiyaPosted Nov 17, 2015, 4:42 AM
Jignesh TrivediPosted Nov 16, 2015, 11:01 PM