Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Tue, 14 Nov 2006 @ 12:59:25 GMT


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


Subj:   Help on SQL query
 
From:   RAJESH.TAMBE

Hi

I have a table with a column as integer, I want to identify set of series from that column. Say values are 9000001-9002000 where some numbers are missing. So output should be

     9000001- 9000100
     9000149- 9000990 (9000101-9000148 are missing)
     9001025- 9002000 (9000991-9001024 are missing)

Can any one guide me how to get the desired result.


Regards,

Rajesh Tambe



     
  <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