AdBlock Detected!
Our website is made possible by displaying ads to our visitors. Please supporting us by whitelisting our website.
SQL SYSDATE Function |
SQL > SQL Date Functions >
Sysdate Function
The SYSDATE function is used to retrieve the current database system time in Oracle and MySQL. A common use of SYSDATE is to get today's date. Syntax in OracleThe syntax of SYSDATE in Oracle is simply, SYSDATE
It does not require any argument. Example in OracleThe SQL statement, SELECT SYSDATE FROM DUAL;
produces the following result when run on January 16, 2000.
Syntax in MySQLThe syntax of SYSDATE in MySQL is simply, SYSDATE( )
It does not require an argument. Example in MySQLThe SQL statement, SELECT SYSDATE( );
produces the following result when run on January 16, 2000, at 09:06:22 AM.
The SQL Server equivalent of SYSDATE is GETDATE. List of SQL Date Functions
|
Our website is made possible by displaying ads to our visitors. Please supporting us by whitelisting our website.