![]() |
|
Archives of the TeradataForumMessage Posted: Wed, 25 Jul 2012 @ 18:33:18 GMT
Hi Sandeep Like Dieter, I'm unsure as to what your requirement is. However, may I guess:
Select
a.cloumn1, b.column1, b.Id, c.Id
From
DB1.SrcTable a
Join
DB2.Dimtable b
On
a.cloumn1 = b.column1
where b.id not
in (select c.id from DB2.FactTable c)
Hope this helps, Regards Frank
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||