Date: 08/26/05 (SQL Server) Keywords: sql I'd like to create an column in one of my tables that contains unique five digit numbers to use as an identifier. I'm a bit of a SQL Server newbie, so forgive me if this is simple. I found the identity() property, which is works well enough to give me ascending numbers, but I want my numbers to always have five digits. Source: http://www.livejournal.com/community/sqlserver/32440.html
|