• Hi,

    I got the solution. create sp like

    create PROCEDURE COMPLIANCE_TASK_DETAILS(@USR_ID INT, @OPERATION VARCHAR(10), @GET_ID INT = null,

    @GET_TASK_NAME VARCHAR(300) = null, @GET_STATUS VARCHAR(100) = null,

    @ASSIGNED_TO INT = null, @GET_COMMENTS VARCHAR(500) = null

    )

    AS

    BEGIN

    statements........

    end

    Who is wise? He that learns from everyone. Who is powerful? He that governs his passions. Who is rich? He that is content. Who is that? Nobody.:)