RDBPROD: How To Specify Date Value With DEFAULT_VALUE FOR SQL (Doc ID 66171.1)

Last updated on JULY 28, 2016

Applies to:

Oracle CDD/Repository - Version 5.3 and later
HP OpenVMS Itanium
HP OpenVMS VAX
HP OpenVMS Alpha

Goal

CDD/Repository V5.1 introduced a new field property, DEFAULT_VALUE FOR SQL. This property is described in the 5.1 Release Notes. 

The DEFAULT_VALUE FOR SQL field property provides a default value that SQL inserts into a field as an initial value.

If the datatype for a field is DATE and the DEFAULT_VALUE FOR SQL is specified incorrectly, SQL can issue the following errors:

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms