Connecting Tech Pros Worldwide Help | Site Map

current sql running

  #1  
Old June 27th, 2008, 08:03 PM
Eitan
Guest
 
Posts: n/a
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 :)


Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL: Running Sum? (PeteCresswell) answers 7 December 8th, 2006 12:35 AM
current sql running Eitan answers 0 May 8th, 2006 09:35 AM
How to query two MS SQL DB's on the same server inside a Stored Procedure JMack answers 5 July 20th, 2005 03:57 AM
connectivity - integration Oracle - SQL server Ton answers 1 July 19th, 2005 10:19 PM