declare @Search_String nvarchar(50);
set @Search_String =null
select * from Punnu1 where Column11 like case
when @Search_String is null then '%%'
else '%'+@Search_String+'%'
end
i have a query like this . but this does not take any element
in column1 with values null.
what should i do to take query with values null in Column11
With thanks in advance
Punnoose