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

Thanks Volker,

So after looking at the NULLIF function help section,

if the LastReqTime = '' , NULLIF will return a null to the query,

which I assume will stop the processing. If LastReqTime isn't

empty, LastReqTime will be returned to the query and the

processing will continue.   TBH, I was trying to come up with

CASE/IF statements on my own, and not having much luck,

but your suggestion is elegant in its simplicity, which is how

I like to code; the fewer moving parts the better!


Viewing all articles
Browse latest Browse all 2182

Trending Articles



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