8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-22 21:23:04 +01:00
This commit is contained in:
Adriano dos Santos Fernandes 2022-07-13 22:19:48 -03:00 committed by GitHub
parent f9a532ca73
commit 64c34f5127
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -433,6 +433,8 @@ Notes:
3) WEEKDAY and YEARDAY cannot be used. It doesn't make sense. 3) WEEKDAY and YEARDAY cannot be used. It doesn't make sense.
4) YEAR, MONTH and DAY could not be used with time values. 4) YEAR, MONTH and DAY could not be used with time values.
5) All timestamp_part values could be used with timestamp values. 5) All timestamp_part values could be used with timestamp values.
6) In Firebird 3.0.8 and 4.0.1 the return type for unit MILLISECOND was changed
from BIGINT to NUMERIC(18, 1).
Example: Example:
select datediff(week from cast('yesterday' as timestamp) - 7 to current_timestamp) select datediff(week from cast('yesterday' as timestamp) - 7 to current_timestamp)