> the type of database column is char[2], how can i compare it to a int
> through JDBC? The database isn't support TO_NUMBER(column) >= i.
> Thanks a lot!
JDBC won't help you; it will have to be SQL. Perhaps your DBMS supports an equivalent
construct, like CAST. Which DBMS is it?

Signature
Lee Fesperman, FirstSQL, Inc. (http://www.firstsql.com)
==============================================================
* The Ultimate DBMS is here!
* FirstSQL/J Object/Relational DBMS (http://www.firstsql.com)
longskyhw - 23 Oct 2003 07:35 GMT
Thank your answer.
The DBMS is Himalaya.
> > the type of database column is char[2], how can i compare it to a int
> > through JDBC? The database isn't support TO_NUMBER(column) >= i.
> > Thanks a lot!
>
> JDBC won't help you; it will have to be SQL. Perhaps your DBMS supports an equivalent
> construct, like CAST. Which DBMS is it?
Lee Fesperman - 24 Oct 2003 00:46 GMT
> Thank your answer.
> The DBMS is Himalaya.
Sorry, I'd never heard of it. I'm afraid you'll have to scour through the docs.
Look for CAST (the SQL92 construct) or perhaps CONVERT.

Signature
Lee Fesperman, FirstSQL, Inc. (http://www.firstsql.com)
==============================================================
* The Ultimate DBMS is here!
* FirstSQL/J Object/Relational DBMS (http://www.firstsql.com)
longskyhw - 24 Oct 2003 06:23 GMT
thank you a lot.
I will look at it.
> > Thank your answer.
> > The DBMS is Himalaya.
>
> Sorry, I'd never heard of it. I'm afraid you'll have to scour through the docs.
>
> Look for CAST (the SQL92 construct) or perhaps CONVERT.