Home Page for the TeradataForum
 
https:

Archives of the TeradataForum

Message Posted: Thu, 31 Mar 2005 @ 09:18:28 GMT


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


Subj:   Re: BTEQ cast a POSITION
 
From:   Kambhoji, Naveen Ram Prasanna

Capp:

How about using a statement like the one below

     SELECT

        CASE
           WHEN position('cessation' in sh.tobacco_comments) > 0 THEN 'CESS1'

           WHEN POSITION ('cess' in sh.tobacco_comments) > 0 THEN 'CESS2'

        END

Hope it helps!

--Naveen.



     
  <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: 28 Jun 2020