ALTER TABLE Data.Event
ADD CONSTRAINT UniqueReference
UNIQUE(EventDateTime,EventRef)
http://databases.about.com/od/sqlserver/a/unique.htm
http://www.simple-talk.com/sql/database-administration/partitioned-tables-in-sql-server-2005/
http://msdn.microsoft.com/en-us/library/ms190273.aspx
No comments:
Post a Comment