Enterprise Edition Home | Express Edition Home | Previous Page | Next Page   SPL Statements > DEFINE >

CURRENT

CURRENT is a valid default only for a DATETIME variable. If the YEAR TO FRACTION is its declared precision, no qualifier is needed. Otherwise, you must specify the same DATETIME qualifier when CURRENT is the default, as in the following example of a DATETIME variable:

DEFINE GLOBAL d_var DATETIME YEAR TO MONTH 
      DEFAULT CURRENT YEAR TO MONTH;
Enterprise Edition Home | Express Edition Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]