[Libreoffice-bugs] [Bug 118817] New: FIREBIRD: EXTRACT Function - WEEK, WEEKDAY and YEARDAY

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jul 18 09:01:00 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=118817

            Bug ID: 118817
           Summary: FIREBIRD: EXTRACT Function - WEEK, WEEKDAY and YEARDAY
           Product: LibreOffice
           Version: 6.1.0.1 rc
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Base
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: theforestgate at hotmail.co.uk

WEEK, WEEKDAY and YEARDAY do not work when entered in the Query Design dialog.

Entering the following using the Query Design dialog:

EXTRACT( WEEK FROM "DateVisit" )

Returns the following error: Expression, field name 'EXTRACT( WEEK FROM
"DateVisit" )' does not exist

However, the following statement works (for WEEK, WEEKDAY and YEARDAY) when
entered in Tools -> SQL

SELECT
EXTRACT( WEEK FROM "DateVisit" ) "WeekNo"
FROM "iCare"
WHERE EXTRACT( WEEK FROM "DateVisit" ) = 1

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180718/ea35f3e1/attachment.html>


More information about the Libreoffice-bugs mailing list