String to Integer with JDBC /ODBC sql .

Posted by user303730 on Stack Overflow See other posts from Stack Overflow or by user303730
Published on 2010-03-28T19:31:49Z Indexed on 2010/03/28 20:23 UTC
Read the original article Hit count: 224

Filed under:
|
|

I am facing severe problem with JDBC ,converting string to integer.

String query = "Select F2, F3, F4 from myTable ORDER BY {fn  CONVERT(INT,F4)}" ;

error: Syntax error in ORDER By clause;

© Stack Overflow or respective owner

Related posts about java

Related posts about jdbc