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 --CELKO-- on 11/28/07 16:11

>> Then all is well, well it would have been if they are started out properly in the first place [NOT NULL UNIQUE on natural key]. <<

This should be a no-op, but it scrambles everything

BEGIN
DELETE FROM Foo
WHERE server_name = 'server_bob';
INSERT INTO Foo VALUES ('server_bob');
END;

And you added the cost of an extra index with the UNIQUE, too!

 

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

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