current sql

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jhood
    New Member
    • Sep 2006
    • 1

    current sql

    What syntax can I use to get the current sql for use with a trigger. the sys_contex('USE RENV','CURRENT_ SQL') does not seem to return the sql.
  • goudelly
    New Member
    • Sep 2006
    • 13

    #2
    hI,

    sys_context('US ERENV','CURRENT _SQL') FROM DUAL;

    It will execute the query

    Thanks,

    Mohan Reddy G

    Comment

    Working...