Home Forums SQL Server 2008 T-SQL (SS2K8) Efficient way to get the lowest unused value of a nvarchar field being used as a primary key RE: Efficient way to get the lowest unused value of a nvarchar field being used as a primary key
micalo
SSC Journeyman
Points: 88
More actions
March 21, 2014 at 5:44 am
#1699042
Hi Lempster,
People can put whatever they want in there unfortunately. There no really way without going through all the data that i can think of. I personally think its bad design but have to work with it unfortunately.
Regards,
Michael