User Tools

Site Tools


Sidebar

**HPL/SQL is included to Apache Hive since version 2.0** * [[home|Home]]\\ * [[why|Why HPL/SQL]]\\ * [[features|Key Features]]\\ * [[start|Get Started]]\\ * [[doc|HPL/SQL Reference]]\\ * [[download|Download]]\\ * [[new|What's New]]\\ * [[about|About]]

sysdate

====== SYSDATE Function ====== SYSDATE function returns the current date and time (year, month, day, hour, minute and seconds). **Syntax**: <code language="sql"> SYSDATE </code> **Return Type:** TIMESTAMP **Example**: Get the current and date and time: <code language="sql"> SYSDATE -- 2015-03-03 11:06:31 </code> **Compatibility**: Oracle **Version:** HPL/SQL 0.3 See also: * [[current-date|CURRENT_DATE]] * [[current-timestamp|CURRENT_TIMESTAMP]] * [[from-unixtime|FROM_UNIXTIME]] * [[now|NOW]] * [[unix-timestamp|UNIX_TIMESTAMP]]