|  |  | 
|  |  | Archives of the TeradataForumMessage Posted: Fri, 15 Dec 2006 @ 18:48:53 GMT
 
 I don't think we have these functions. You could try using the below SQL construct. 
     SEL
     '1234M' AS sno -- CHAR type
     ,CASE WHEN (UPPER(SUBSTRING(TRIM(sno) FROM 1 FOR 4)) (CASESPECIFIC) =
     LOWER(SUBSTRING(TRIM(sno) FROM 1 FOR 4)) (CASESPECIFIC) ) AND
     SUBSTRING(sno FROM 5 FOR 1) = 'M'
     THEN 'MATCH' ELSE 'Mis MATCH' END AS "Result"
Thanks, Vinay Bagare 
 | ||||||||||||||||||||||||||||||||||||||||||||||
|  | ||||||||||||||||||||||||||||||||||||||||||||||||
| 
 | ||||||||||||||||||||||||||||||||||||||||||||||||
|   | ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||