To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=71861 Issue #|71861 Summary|Query shows strange behaviour with ADO db Component|Database access Version|OOo 2.1 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|none Assigned to|dbaneedsconfirm Reported by|evoci
------- Additional comments from [EMAIL PROTECTED] Wed Nov 22 07:24:15 -0800 2006 ------- Use the same file attached to #71578. If not already there, enter the query: SELECT `Field1`, LEFT( `field2`, 7 ) AS `Month`, `Field3`, `Field4` FROM `Nbmis_putnici` ORDER BY `Field1` ASC it runs ok Edit as: SELECT `Field1` AS `BP`, LEFT( `field2`, 7 ) AS `Month`, `Field3`, `Field4` FROM `Nbmis_putnici` ORDER BY `BP` ASC it returns "Parameter 'BP' has no default value" Edit as: SELECT `Field1`, LEFT( `field2`, 7 ), SUM(`Field3`), SUM(`Field4`) FROM `Nbmis_putnici` GROUP BY `BP`, LEFT( `field2`, 7 ) ORDER BY `Field1` ASC, LEFT( `field2`, 7 ) ASC it returns SQL ERROR: unexpected $end, expecting BETWEEN or IN or SQL_TOKEN_LIKE --------------------------------------------------------------------- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]