Bookmark Topic Watch Topic
  • New Topic

how to the setNull() method

 
ramchander yshetti
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Report post to moderator
hai,
i created a table student(sno number(2),sname varchar2(15));
i want to set null to the, sno and sname.

->i tried using the
insert into student values(?,?);

st.setNull(1,null);
st.setNull(2,null);

-> but it is not working.
->can any one suggest me.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Closing accidental duplicate thread.

See original.
 
    Bookmark Topic Watch Topic
  • New Topic