![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 07 Oct 2009 @ 12:35:59 GMT
<-- Anonymously Posted: Wednesday, October 07, 2009 08:30 --> Try split and recombine, something like
(SELECT ... FROM TableA
INNER JOIN TableB ON TableA.Colx = TableB.Colx AND TableA.Colx = DefaultValue)
UNION ALL
(SELECT ... FROM TableA
INNER JOIN TableB ON TableA.Colx = TableB.Colx AND TableA.Colx <> DefaultValue)
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||