@senthil nagore --> Please re-read my question!I want design a Filtered Index by using Wizard.I need it (Filtered Unique Index) just for enforcing data integrity and I implement it by two other method.Check Constraint Based on a UDF and TRIGGER.take a look:create function dbo.CustomUQ (@value int) returns bit asbegin declare @b bit if @value = 0 set @b = 1 else if not exists (select * from your_table where column_name = @value) set @b = 1 else set @b = 0 return @bendgoalter table your_tableadd constraint UQ_01check ( dbo.CustomUQ ( Column_name ) = 1 )go
create trigger trg_UQon your_tableinstead of insert, updateasbegin declare @v int select @v = column_name from inserted if @v = 0 or not exists (select * from your_table where column_name = @v) insert into your_table select * from inserted else raiserror ('Duplicate Value',16,1)end