To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=65046





------- Additional comments from [EMAIL PROTECTED] Wed May  3 08:19:44 -0700 
2006 -------
fs->fridrich_strba:
Speaking strictly, there are two issues:

First, the driver cannot parse the SQL statement auto-generated by OOo (at least
the console traces tell so). However, this error is not reported. In particular,
this means no SQLException is thrown.

Second, the auto-generated SQL statement uses a rather obscure SQL syntax:
  SELECT * from "names" "names"
which is semantically equivalent to
  SELECT * from "names" AS "names"
which is semantically equivalent to
  SELECT * from "names"

Seems MDBTools cannot parse the first form - which is fine, as said, this is a
obscure (though absolutely legitimate) syntax we once introduced since some
databases require it. A solution here would be to uncheck the "Append the table
alias name in SELECT statements." This would prevent the problem for all
newly-generated queries. Ideally, this should happen whenever a new MSA database
document is created.
I'm open to do this for *all* databases (did I mention I consider this
obscure?), by simply changing |sal_True| to |sal_False| in
isAppendTableAliasEnabled in dbaccess/source/ui/misc/UITools.cxx.


---------------------------------------------------------------------
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]

Reply via email to