Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Weekday and Time function - forum topic by dmenzaghi

$
0
0

Hi all,
i'm new in this forum.
I have to simple problems that i cannot solve:
- I need to find a function that calculate in Teradata the weekday of a date variabile.
- i need to compare a Time variable whit some constant values:
 ie.  
  case
     when  var_time < '18:00' then 1
     when  var_time < '11:00' then 2
 
Thanks in advance for you help
D.
 
 

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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