If we want to make some identiity value in sqlserver , we can use identity data type in a table.However, there are some disadvantages on that style,But , how to ?Here we go we can use replace(replace(replace(CONVERT(varchar, getdate(), 120 ),'-',''),…