Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Mon, 14 Aug 2006 @ 09:33:58 GMT


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


Subj:   Re: Request for help in converting the below query
 
From:   Michael Larkins

Pratheesh:

I am not entirely sure I understand all the requirements you are specifying, but what about this:

     Where
                       SRC_DW_CD = :src_dw_cd_in
                       and clm_disp_cd = 'READJ'
                       and count(*) OVER (PARTITION BY SRC_DW_CD,
     CLM_SRC_SYS_CD, CLM_NBR, CLM_LN_NBR, MBR_KEY,CLM_LN_ADJMT_NBR) >1

Hope this helps,

Michael Larkins
Certified Teradata Master
Certified Teradata SQL Instructor



     
  <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