To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=80900
                 Issue #|80900
                 Summary|bad SQL for dates
               Component|Database access
                 Version|OOo 2.2.1
                Platform|PC
                     URL|
              OS/Version|Windows XP
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|none
             Assigned to|jbu
             Reported by|viandor





------- Additional comments from [EMAIL PROTECTED] Tue Aug 21 12:45:20 +0000 
2007 -------
I am using postgresql-sdbc-driver 0.7.4.
When i execute a request with a date restriction, the generated SQL statement is
wrong and i have an error.

For example, it generates :

SELECT "myrow" FROM "public"."mytable" WHERE ( ( "mydate" > {D '2005-08-17' } ) 
)

Whereas it should do, for example:

SELECT "myrow" FROM "public"."mytable" WHERE ( ( "mydate" >
TO_DATE('2005-08-17','YYYY-MM-DD') ) )

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to