Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 22 May 2003 @ 15:20:37 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Time Stamp in Teradata
 
From:   Geoffrey Rommel

  So if you select without ORDER BY you'll always end upwith an unordered result set. This is different to mostother RDBMSes.  



I hesitate to disagree with Dieter, but this is not quite correct. In relational theory, relations are sets, so they are unordered. For instance, the set {integers between 1 and 20} can be enumerated in a conventional order -- 1, 2, 3, etc. -- but there is no order to the set itself; all 20! enumerations specify the same set. In other RDBMSes, the rows may in fact come out in the same order every time, but this is merely a by-product of the physical ordering on disk; it does not imply that there is an order to the rows of the table.



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023