You could  try altering your SQL to read:

select  NVL(TIME_DIFF,'+0000') AS TIME_DIFF  from my_table;

Regards,
David.

Palanisamy Easwaran wrote:

> Hi,
>
>  I do the following query using JDBC, after the query is executed I do get
> resultset.
>
>  select  NVL(TIME_DIFF,'+0000')  from my_table;
>
> I need the Original column name of the field TIME_DIFF as 'TIME_DIFF '
> when I tried to use getColumnName(int) and getColumnLabel(int) which could give
> me only the field name as 'NVL(TIME_DIFF,'+0000').
>
> Is there any way to get the actual SQL Table's field name?
>
> thanks in advance,
> eas
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

--
David Bullock
Project Manager - Strategic Applications
[EMAIL PROTECTED]

LISAcorp
http://www.lisa.com.au/

Adelaide                  Sydney
--------------------      ------------------------
38 Greenhill Rd           Level 3, 228 Pitt Street
Wayville S.A. 5034        Sydney NSW 2000

PH  +61 8 8272 1555       PH  +61 2 9283 0877
FAX +61 8 8271 1199       FAX +61 2 9283 0866
--------------------      ------------------------

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to