![]()  |  
 
 
 | 
Archives of the TeradataForumMessage Posted: Thu, 15 Dec 1999 @ 22:51:27 GMT
 
 Dean, I have created views with the both the EXCEPT and MINUS statements (they are equivalent) with no problem. I think your problem must be something other than the except not being allowed in a 'create view'... Example: This query works fine: 
     sel * from lookup_hour
       minus
     sel * from lookup_hour
     where TrxHour in (1, 2, 3)
This View works fine with Except: 
     create view test_view as
     sel * from lookup_hour
       except
     sel * from lookup_hour
     where TrxHour in (1, 2, 3)
This view works fine with minus: 
     create view test_view2 as
     sel * from lookup_hour
       minus
     sel * from lookup_hour
     where TrxHour in (1, 2, 3)
Regards, Duncan Heard 
  | ||||||||||||||||||||||||||||||||||||||||||||||||
|   | ||||||||||||||||||||||||||||||||||||||||||||||||
 
  | ||||||||||||||||||||||||||||||||||||||||||||||||
|  
 | ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||