Additional SQL Server features and topics not covered by specific categories
Hi @Andre Talon
Please check this:
Declare @table table( FIELD int)
Insert into @table values
(701),(1501)
SELECT STUFF(RIGHT(CONCAT('0000',FIELD),4),3,0,':') AS NewField
FROM @table
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".
Note: Please follow the steps in our Documentation to enable e-mail notifications if you want to receive the related email notification for this thread.