![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 16 Dec 2004 @ 18:32:05 GMT
Hello, can anyone show a legal example of how to accomplishwhat the following query is attempting ? As written this query does not work. the query shown is a simplification of some logic I need to implement :
select (CASE
WHEN 'abcd' not in (select code_id
from codes
)
then 'didnt find it'
else 'found it'
end)
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||