To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=93452 Issue #|93452 Summary|query in bugdoc produces wrong result when run with "R |un SQL command directly" ON Component|Database access Version|OOO300m3 Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|none Assigned to|oj Reported by|fs
------- Additional comments from [EMAIL PROTECTED] Thu Sep 4 07:16:28 +0000 2008 ------- - open the attached database document - open the contained query in SQL view ("Edit in SQL view ..." in its context menu) - execute the query (F4) => a result set with one column and one row is displayed, the only cell containing the value "9" This is the correct and expected result - toggle the "Run SQL command directly" button in the Standard toolbar - execute the query, again => a result set with one column and one row is displayed. But this time, neither does the column have a name, nor is the proper value displayed While the bug vanishes when you give the aggregate function an alias (i.e. change the statement from "SELECT COUNT(*) FROM ..." to "SELECT COUNT(*) AS SOME_ALIAS FROM ..."), it still is Not Good (TM) to silently display wrong results to the user. --------------------------------------------------------------------- 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]