on 2014 Mar 25 7:19 PM
select c1, c2, c3,
( CASE when recon-status = '' then 'N'
when recon-status is null then 'NULL'
else recon-status END )
from ...
when recon_status = '', i'm not getting an N, i'm getting ''
ASA 11.0.1.2960
Request clarification before answering.
The question remains, how do you know that recon_status contains ''? Maybe it contains ' ' or ' ' (one or two or more spaces)... you can't tell from the screenshots.
Maybe you need TRIM...
( case when TRIM ( recon_status ) = '' then 'N' when recon_status is null then 'NULL' else recon_status end ) recon_status,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
30 | |
10 | |
8 | |
8 | |
7 | |
7 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.