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

SQL query to Teradata SQL - response (5) by Jessy Mahesh Kothapalli

$
0
0

Hi Team,
      Problem is solved :) , by using mentioned logic we achieved
 

( ((extract(minute from T61292."X_ATTRIB_27")) - (extract(minute from ( T61292."X_ORD_DT_CREATED" + CAST( 330 AS INTERVAL MINUTE(4) ) ))) +

((extract(hour from T61292."X_ATTRIB_27")) - (extract(hour from ( T61292."X_ORD_DT_CREATED" + CAST( 330 AS INTERVAL MINUTE(4) ) ))) +

((extract(day from T61292."X_ATTRIB_27")) - (extract(day from ( T61292."X_ORD_DT_CREATED" + CAST( 330 AS INTERVAL MINUTE(4) ) ))) )*24)*60)) / cast (60 as decimal(34,14)) as c12

 


Viewing all articles
Browse latest Browse all 27759

Trending Articles



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