![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 09 Oct 2003 @ 18:17:34 GMT
Does anyone know if Teradata can perform bitwise operations?
I.e. (x & 1) = 1
(x & 2) = 2
(x & 4) = 4
I know I can do: case when x in (1,3,5,7,9) then 1 else 0 end but this implies a closed world assumption and it's a little too restrictive for my liking Thanks, Jason
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||