Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Left Function || Conversion of Sql Server to Teradata - response (1) by CarlosAL

$
0
0
You don't give DDL's, your attempts and the errors you get, but   SELECT    CASE       WHEN (SUBSTR(COLUMNNAME,1,2) <> '60' AND COLUMNNAME2 IN (1,2))          THEN 2       ELSE 1 END FROM TABLENAME   should work. Cheers. Carlos.

Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>