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

Left Function || Conversion of Sql Server to Teradata - topic by e-smile

$
0
0
Hello everyone,   Sorry. I'm disturbing your. I have a question about conversion of SQL Server Query to Teradata Query about LEFT function.  If anyone can help me in conversion of query to teradata;   select  CASE WHEN ( LEFT (COLUMNNAME,2) <> 60 AND COLUMNNAME2 IN (1,2)) THEN 2 ELSE 1 END ) FROM TABLENAME   I tried with Substring function. But I give syntax error.   By the way, Column Data Type: varchar(5)   Thanks in advance.

read more


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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