current sql running

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Eitan

    current sql running

    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 :)


Working...