Quantcast
Channel: SCN: Message List - SAP SQL Anywhere
Viewing all articles
Browse latest Browse all 2182

Re: Evaluate date field, use only if not null/empty in query.

$
0
0

Hi John,

 

I wonder if you could try add 'LastReqTime is not null', like this:

 

select LastReqTime,

BlockedOn,

UncommitOps

FROM sa_conn_info()

WHERE LastReqTime is not null and LastReqTime < DATEADD(mi,-60,GETDATE()) AND BlockedON > 0 AND UncommitOps = 0

 

Regards,

Zhang Yun-zheng


Viewing all articles
Browse latest Browse all 2182

Latest Images

Trending Articles



Latest Images

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