How to set total digit in SQL Server 2008.
For example, I set 5 as the total digit of an ITEM ID. So that if the actual ITEM ID is 205, it will be converted and shown as 00205. Thx !
How to set total digit in SQL Server 2008. For example, I set 5
Share
Generally, you should pad the data after it comes back from the database, not in the database itself.
If you must, though: