current sql running

From: Eitan <nospam_at_nospam_please.com>
Date: Mon, 8 May 2006 10:58:53 +0200
Message-ID: <445ef5ed_at_news.bezeqint.net>



Hello,
Can I somehow by tricky way,
return the current sql running (or id of sql) by the current select statement.

Something like :
select my_current_sql_statement , ....
from ....

(it should not be a recrusive sql).

Need sample code, please.

Thanks :) Received on Mon May 08 2006 - 10:58:53 CEST

Original text of this message