To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=115436
User r4zoli changed the following:
What |Old value |New value
================================================================================
CC|'' |'r4zoli'
--------------------------------------------------------------------------------
Assigned to|dbaneedsconfirm |oj
--------------------------------------------------------------------------------
Ever confirmed| |1
--------------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
--------------------------------------------------------------------------------
Keywords| |oooqa
--------------------------------------------------------------------------------
------- Additional comments from [email protected] Sat Nov 6 09:33:00
+0000 2010 -------
I can confirm it, the fiedd data type is VARCHAR.
I tested on win7 with MySQL 5.1.44 with native (1.0.1), JDBC and ODBC driver.
Same results, error:
The data content could not be loaded.
SQL Status: 42000
Error code: 1064
You have an error in your SQL syntax; check the manual that corresponds to your
MySQL server version for the right syntax to use near 'CHAR ) AS "field_name"
FROM "table1"' at line 1
If I use query on DATE data type field,
Select CAST(Col1 as DATE) as Col1 From Table1
I get error:
The data content could not be loaded.
SQL Status: 42000
Error code: 1584
Incorrect parameters in the call to stored function 'CAST'
Both query runs in MySQL Workbench without error.
I tested in OOo 3.2.1, I get same results with ODBC and JDBC drivers.
Surprisingly the native driver 1.0.0 let the queries run, both works correctly.
Other CAST Queries run without error:
SELECT CAST('2000-01-01' AS DATE);
SELECT CAST(1-2 AS UNSIGNED)
select cast('2007-12-25' as DATETIME)
Assign developer.
---------------------------------------------------------------------
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]