Product Documentation

SQL Reference Guide

Previous Topic

Next Topic

CURDATE function (ODBC compatible)

Syntax

CURDATE ()

Description

CURDATE returns the current date as a DATE value. This function takes no arguments.

c-treeSQL statements can refer to CURDATE anywhere they can refer to a DATE expression. For example,

INSERT INTO objects (object_owner, object_id, create_date)

VALUES (USER, 1001, CURDATE()) ;

TOCIndex