Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can an identity column be zero?
Message
 
 
To
27/11/2010 18:07:10
General information
Forum:
Microsoft SQL Server
Category:
Other
Environment versions
SQL Server:
SQL Server 2008
Miscellaneous
Thread ID:
01490715
Message ID:
01490716
Views:
59
>I checked the documentation and can't find an answer to this.
>Will an identify column ever have a value of zero?
>I note that when I add the first record, it's 1.

It could be any value (whole number) that fits into column defined size. You can specify a start value (seed) when you create an IDENTITY column. The default is 1.
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform