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

I stumbled upon Order By, and found that will sort by date and BlockedOn value, depending on which one I use as an argument. Next foray is to try to figure out how to get it to show ALL returns, and not just the first 115, without having to click to sort .

select LastReqTime,

BlockedOn,

UncommitOps

from sa_conn_info()

WHERE LastReqTime < DATEADD(mi,-60,GETDATE()) AND BlockedOn > 0 AND UncommitOps = 0 ORDER BY LastReqTime


Viewing all articles
Browse latest Browse all 2182

Trending Articles



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