[dba-issues] [Issue 97811] Base with MS Access does n ot accept literals in concatenation with plus symbol
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97811 --- Additional comments from erem...@openoffice.org Sun Mar 15 22:29:13 + 2009 --- Created an attachment (id=60939) Test database containing queries for testing - 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: issues-unsubscr...@dba.openoffice.org For additional commands, e-mail: issues-h...@dba.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[dba-issues] [Issue 97811] Base with MS Access does n ot accept literals in concatenation with plus symbol
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97811 --- Additional comments from erem...@openoffice.org Sun Mar 15 22:27:38 + 2009 --- I played with the internal database of Base and found the same issue as I reported for Base with MS Access. The internal database supports two concatenation operators '||' and '+'. Base is not able to parse queries that use the '+' operator for concatenation in combination with a literal value. I attached a test database "97811.ods" that contains the following queries: "q_concat_col_plus_col with Base SQL: ok" This query proves that concatenation with '+' symbol is supported with internal database. "q_concat_col_plus_literal with Direct SQL:ok" This query proves that concatenation with '+' symbol is supported with internal database in direct SQL mode. Disable Direct SQL mode makes the query fail. "q_concat_col_plus_literal via derived table with Base SQL: ok" This proves the workaround by using a derived table. Note the other 'workaround' for internal Base database is to use the more common '||' operator, but that is no available for MS access. I assume that both databases suffer from the fact that Base SQL parser can not parse literal string values in combination with '+' symbol as string concatenation. - 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: issues-unsubscr...@dba.openoffice.org For additional commands, e-mail: issues-h...@dba.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[dba-issues] [Issue 97811] Base with MS Access does n ot accept literals in concatenation with plus symbol
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97811 User mechtilde changed the following: What|Old value |New value Keywords| |oooqa OS/Version|All |Windows, all Platform|All |PC --- Additional comments from mechti...@openoffice.org Tue Jan 6 20:22:36 + 2009 --- change OS to windows because it is only possible under windows to connect to MS Access tables - 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: issues-unsubscr...@dba.openoffice.org For additional commands, e-mail: issues-h...@dba.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[dba-issues] [Issue 97811] Base with MS Access does n ot accept literals in concatenation with plus symbol
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97811 Issue #|97811 Summary|Base with MS Access does not accept literals in concat |enation with plus symbol Component|Database access Version|OOO300m9 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P4 Subcomponent|none Assigned to|dbaneedsconfirm Reported by|eremmel --- Additional comments from erem...@openoffice.org Tue Jan 6 18:30:49 + 2009 --- Not native executed queries in Base against MS access database that contain a concatenations based on plus symbol, break when a string literal value is involved. The reported error is: SQL Status HY000, Error code:1000 "Syntax error in SQL expression", "syntax error, unexpected $end, expecting BETWEEN or IN or SQL_TOKEN_LIKE" The following example goes wrong: SELECT f1 + 'value' FROM table1; whereas this is OK: SELECT f1 + f2 FROM table1; A workaround is: SELECT X.f1 + X.v FROM ( SELECT f1, 'value' AS "v" FROM table1 ) X - 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: issues-unsubscr...@dba.openoffice.org For additional commands, e-mail: issues-h...@dba.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org