Teradata 日期函數


select to_month_end(date)
select extract(year/month/day from date)
select lastday(date/timestamp)
select (date-date) day(3)/month(3)/year(3)
select months_between(date,date)
select (time-time) hour(3)/minute(3)/second(3)
select current_timestamp - interval '2' hour/mibute/second
select current_date - interval '2' year/month/day/hour/minute/second
select next_day(date,'friday'/'fri')
select numtoyminterval(20,'month'/'year')

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM