Quantcast
Channel: SCN : All Content - SAP IQ
Viewing all articles
Browse latest Browse all 716

Union of sp_iqconnection() ,sp_iqtransaction and sp_iqcontext()

$
0
0

Dear all,

 

     How can i union of three table sp_iqconnection() and sp_iqtransaction and sp_iqcontext()

 

i want output in below format(add one more column for IDLE and INTENSIVE query)

if query running more then 30 minutes means its an intensive query

if user is not doing anything past 30 minutes means its idle

 

i want output in below format

 

connectio typeConnHandle  Userid   LastReqTime   LowestIQCursorState  IQthreads TempWorkspace  Nodeaddr LastIdle(in hours)cmd
IDLE10xxx17:13.4None1020010.12.12.121select * from tmp
INTENSIVE11yyy15:10:05fetching2030010.14.13.19NAselect * from sp_iqcontecx

 

if there is any new method please help me


Viewing all articles
Browse latest Browse all 716

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>