• Actually Gila, I do it because I have multiple instance of application which calls this stored procedure, the duty of this SP is to get new request from my inbox table, but without duplication of transaction, because some of this request has account transaction.

    _____________________________________________
    [font="Verdana"]ToM™[/font] (Possibility will come out of nothing)