You are here: Re: SQL Express - Identity specification property - how to change « MsSQL Server « IT news, forums, messages
Re: SQL Express - Identity specification property - how to change

Posted by Erland Sommarskog on 11/26/07 22:21

Tony Rogerson (tonyrogerson@torver.net) writes:
>> 1) NULL-able
>> 2) More than one column can have the same data type
>> 3) Has to take CHECK() constraints
>> 4) Appropriate computations can done on it (numeric, string or
>> temporal)
>
>> IDENTITY has none of the properties of a data type because it is not a
>> data type at all.
>...
> The column that has the IDENTITY property can have all the aspects you
> speek of - you are compeltely wrong.

Sorry, Tony, but sometimes Joe is right. An IDENTITY column cannot be
nullable, and you can only have one of them in a table. Not that see
any practical importance of this.

--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация