Re: @@NESTLEVEL
From: Hugo Kornelis (hugo_at_pe_NO_rFact.in_SPAM_fo)
Date: 08/05/04
- Next message: Hugo Kornelis: "Re: Quick question re: locks and triggers"
- Previous message: Sjaakie Helderhorst: "Re: Concatenate 2 cells into 1, same record"
- In reply to: x-rays: "@@NESTLEVEL"
- Next in thread: x-rays: "@@NESTLEVEL"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 05 Aug 2004 16:07:38 +0200
On Thu, 5 Aug 2004 05:57:42 -0700, x-rays wrote:
>Hello Experts,
>
>Can I use The @@NESTLEVEL to find the stack of a trigger?
>I test it and i seems to work fine.
>
>Thanks in advance
Hi x-rays,
You can use @@NESTLEVEL, but be aware that this counts all nesting levels.
A trigger calling a proc doing an update that fires a trigger would yield
the same nestlevel as a manually started proc calling a proc doing an
update.
If you want to be sure about the nesting level of triggers only, use the
builtin function TRIGGER_NESTLEVEL() instead.
Best, Hugo
-- (Remove _NO_ and _SPAM_ to get my e-mail address)
- Next message: Hugo Kornelis: "Re: Quick question re: locks and triggers"
- Previous message: Sjaakie Helderhorst: "Re: Concatenate 2 cells into 1, same record"
- In reply to: x-rays: "@@NESTLEVEL"
- Next in thread: x-rays: "@@NESTLEVEL"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading