• Thanks.

    To chekc it, i kept extended event capturing on and executed the procedure. The sql returned 5 rows as "create procedure...". (from your explanation it must be the statamentd from the procedure. ) but extended event did not capture any thing. Why?

    Regards