To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=81735
Issue #|81735
Summary|Table and fields names case-sensitive
Component|Database access
Version|OOo 2.2.1
Platform|All
URL|
OS/Version|Windows XP
Status|UNCONFIRMED
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|none
Assigned to|dbaneedsconfirm
Reported by|pmelchiobe
------- Additional comments from [EMAIL PROTECTED] Wed Sep 19 09:28:45 +0000
2007 -------
OoBase allows the ceation of table names that are case sensitive.
If a table is named with a non-uppercase name; SQL sentences do not find the
table.
In OoBasic, if you try to run the macro below, you will get an error
message "Table not found"
databasecontext = createUnoService("com.sun.star.sdb.DatabaseContext")
datasource = databaseContext.GetByname("demo_db")
connection = datasource.GetConnection("","")
statement = Connection.createStatement()
resultSet = Statement.executeQuery("SELECT Field1, Field2 FROM Table1")
If you try to connect to the Db from an SQL tool (like hsqldb.jar or
JDBStudio), you will see the table definition. But a "select * from table1"
will get the same error.
For compatibility purposes, tables and fields should be uppercase only?
---------------------------------------------------------------------
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]