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

Re: I must be using CASE statement wrong, but...how?

$
0
0

The fundamental issue here is that in ASE, 'CASE' is not a statement, but an expression, technically speaking.

Bret's reply shows how CASE...END can be used as an expression as part of another statement.

In contrast, a CASE statement is a control-flow construct that exists in other programming langauge (e.g. C), and some other SQL dialects, but not in ASE's Transact-SQL.


Viewing all articles
Browse latest Browse all 3587

Trending Articles



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