Skip to content
  • Home
  • About us
  • Contact
  • Partners & Agreements
  • Products & Services
Aurlen logo
  • Home
  • About us
  • Contact
  • Partners & Agreements
  • Products & Services

Tag: to_char

  • Home
  • Home
  • to_char

Format Date and Date Year-Month-Day Hour-Minute-Second in Oracle

26/09/201926/09/2019 Super Tux

Execute:   SELECT to_char(sysdate,’YYYY-MON-DD HH24:MI:SS’) FROM dual; Result: 2019-SEP-26 15:24:40   To extract the hour::   SELECT TO_CHAR(SYSDATE,’HH24′) AS CURRENT_HOUR FROM DUAL;  

Oraclesysdate, to_char

Categories

  • Bash (2)
  • go (golang) (1)
  • iptables (1)
  • Linux (6)
  • Monitoring (2)
  • Mysql (1)
  • NTP (2)
  • OpenVPN (1)
  • Oracle (2)
  • Postgresql (2)
  • Proxmox (1)
  • Ubuntu (2)
  • Windows (2)
  • WMI (2)
Aurlen Technologies © All rights reserved.
Powered by WordPress | Corporate Key by Axle Themes