Why a view, rather than just an indexed computed column? It'll work, but....
Do you not have a column that is already unique in the table, eg the primary key columns?
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability