SQL Server 2008: columna calculada HashBytes

Estoy usando SQL Server 2008.

tengo unLa columna NVARCHAR (MAX) llamada Título y quiero agregarle un índice único. Debido a que la columna es más grande que 900bytes, decidí crear una columna calculada HashBytes (basada en la recomendación de StackOverflow).

¿Como creo la columna HashBytes?

alter table Softs add TitleHash AS (hashbytes('SHA1',[Title])) PERSISTED;

esto funcionó y se creó la columna calculada.

PERO cuando intento agregar un índice me sale el siguiente error:

Adding the selected columns will result in an index key with a maximum length of 8000 bytes.  
The maximum permissible index length is 900 bytes. 
INSERT and UPDATE operations fail if the combined value of the key columns exceeds 900 bytes.  
Do you want to continue?

Esta es la consulta utilizada para crear el índice:

CREATE NONCLUSTERED INDEX [UIX_TitleHash] ON [dbo].[Softs] 
(
    [TitleHash] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
GO

Respuestas a la pregunta(1)

Su respuesta a la pregunta