• Thank you for your reply.

    i did't get you exactly

    But I am trying to update the sp, updating in where clause will work it seems.

    WHERE SO2.Name = @cTableName