I’m running MyEclipse 3.8.4 on Eclipse version 3.01 and I’m trying to use the SQL Editor to see Oracle 10g tables that include “timestamp with
timezone” and “Interval Day to Time” data types. I am on Windows 2000 5.00.2195. I am using the Oracle 10g jdbc driver: ojdbc14.jar.
Here is the table definition:
Create Table Mikey(
TSTAMP TIMESTAMP(6) WITH TIME ZONE,
IDAYTOSEC INTERVAL DAY(9) TO SECOND(6))”
I put a row into the table with this command:
Insert into mikey values (sysdate,’+000000000 01:05:21.234000′);
When I run “Select * from Mikey” in the SQL Editor, I get “<Unknown>” in the results section. The only way I can see the data is if I change
my query to use “to_char” for each data type, like so:
select to_char(tstamp),to_char(idaytosec) from mikey
Then I see the correct data in the results pane:
16-MAY-05 05.00.06.000000 PM -07:00 +000000000 01:05:21.234000
Does anyone know how to fix this without having to use the “to_char” workaround?