Prepared statement. Can I miss out parameter?

Posted by skydreamerr on Stack Overflow See other posts from Stack Overflow or by skydreamerr
Published on 2010-05-25T09:49:35Z Indexed on 2010/05/25 9:51 UTC
Read the original article Hit count: 131

Filed under:
|

I use queries like

"UPDATE MAILSCH.MESSAGE "
            + "SET IDFOLDER=?, SUBJECT=?, CONTENT=?, CREATIONTIME=?, AD_FROM=?, AD_TO=?, STATUS=? "
            + "WHERE IDMESSAGE=?";

May I miss out IDFOLDER without changing query?

© Stack Overflow or respective owner

Related posts about java

Related posts about preparedstatement