• Thanks for code and explanation. I guess i could put the conditions in a separate table and use the data to create the parameters required for this stored procedure.

    Edited by - rajenshah on 11/18/2003 02:28:04 AM