9.18'TOMORROW'

Available inDSQL, PSQL, ESQL

TypeCHAR(8)

Description'TOMORROW' is not a variable but a string literal. It is, however, special in the sense that when you CAST() it to a date/time type, you will get the date of the next day. See also Section 9.17, “'TODAY'.

Examples

  |select 'Tomorrow' from rdb$database
  |-- returns 'Tomorrow'
  | 
  |select cast('Tomorrow' as date) from rdb$database
  |-- returns e.g. 2011-10-04
  | 
  |select cast('TOMORROW' as timestamp) from rdb$database
  |-- returns e.g. 2011-10-04 00:00:00.0000

Shorthand syntax for the last two statements:

  |select date 'Tomorrow' from rdb$database;
  |select timestamp 'TOMORROW' from rdb$database;