Hi,
There is a problem with
rs = st.executeQuery(
            "values (3, cast (null as int))");
And it gave the error
Exception in thread "main" java.sql.SQLDataException: An attempt was made to
get a data value of type 'INTEGER' from a data value of type 'null'.

Are there any reasons for this error occurring?
Thanks
Eranda

Attachment: CastNullAsInt.java
Description: Binary data

Reply via email to