I have a general question on designing a stored procedure in SQL Server:
I have a website and a user can do a search for something using up to say 30 attributes (meaning he may use all 30 criteria or he may use only 5).
How would you design a stored procedure for this? What would you keep in mind while designing this procedure?
Thanks in advance.