Subject | RE: [firebird-support] Current date via database query |
---|---|
Author | Thomas Steinmaurer |
Post date | 2003-11-04T14:25:41Z |
> How can I get the current date via a database query?Use the CURRENT_DATE keyword. For example:
>
> In a Sybase database it would be >>> select 'today' = getDate() <<< and in a SAP database it would be >>> select {fn
> NOW()} from DumyTable <<<
>
> What is the equivalent in Firebird?
SELECT CURRENT_DATE FROM RDB$DATABASE;
HTH,
Thomas