How can I create a primary key in SQL Server 2005/2008 of the format CurrentYear + auto-increment? If current year is 2010, in a new table ID should start at 1, so: 20101, 20102, 20103, 20104, 20105 and so on.
How can I create a primary key in SQL Server 2005/2008 of the format
Share
This technically meets the needs of what you requested: