![]() |
|
Archives of the TeradataForumMessage Posted: Mon, 24 Sep 2012 @ 12:27:08 GMT
Vinod Use COALESCE function to cast a temporary value if it is null
Select * from tablename
where coalesce(number, 0) = 100
and coalesce(value,0) = 1;
Edgar Ng
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||