Could not use Contains (for full text search) in Case statement. Kindly provide the alternate for the below sample. CREATE PROCEDURE spGetData @FNAME VARCHAR(10) =NULL, @FV