Hi @RUPESH SHELAR
Try this:
UPDATE table1
SET dateid1 = CAST(CONVERT(varchar(8),dateid,112) as int),
dateid2 = CONCAT_WS(' ',YEAR(dateid),convert(varchar(6),dateid,107))
Best regards,
Cosmog Hong
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".