Quantcast
Channel: SCN : Discussion List - SAP HANA Developer Center
Viewing all articles
Browse latest Browse all 6412

Need to change cmy sql code to HANA sql code

$
0
0

Hello ExpertCan any one please help me with the below replacement from MYSQL to HANA MYSQL:   yearweek((convert_tz(`i`.`sys_created_on`, 'UTC','US/Pacific') - interval 4 day), 0) For (`i`.`sys_created_on) you can test with sysdate() in MYSQL and CURRENT_DATE in HANA. You can try the replacement of below Query: select yearweek(sysdate() - interval 4 day, 0) from dual


Viewing all articles
Browse latest Browse all 6412

Trending Articles



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