Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

not null or not exists for ase 12.5

$
0
0

try to use case in t-sql like:

 

case when not null(select * from tab) then 1

     else 0

end

 

or

 

case when not exists(select * from tab) then 1

     else 0

end

 

it gives me syntax error at when.

 

How to fix it?


Viewing all articles
Browse latest Browse all 3587

Trending Articles



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