如果为下列预编译SQL的第三个问号赋值,那么正确的选项是( )UPDATE emp SET ename=?,job=?,salary=? WHERE empno=?
A.
pst.setInt("3",2000);
B.
pst.setInt(3,2000);
C.
pst. setFloat (“ salary ”,2000);
D.
pst. set String (“ salary ”,2000);
拍照语音搜题,微信中搜索"皮皮学"使用
参考答案:
参考解析:
知识点:
皮皮学刷刷变学霸
举一反三
【简答题】One day a young man went to the town and bought himself a new pair of pants. When he got home, he went to his room and put them on. He found they were about two inches(英寸) long. He went into the kitch...
【简答题】My wife passed away seven and a half years ago, and I went through a huge depression (消沉), the worst time in my life. I even wanted to end my life. I continued to work as a small-town doctor at my med...
【简答题】Christmas at Grandma’s 1 After my father died in 1947, mother went to work to support us. By the time I finished high school, I had been looking forward to spending Christmas with my friends. But two...
【简答题】When I was a kid, my dad worked in a shop in the center of our town. Sometimes, I went to the shop with him and I made a little pocket money by buying things for his workmates. But I never paid attent...
【简答题】用下列单词的正确形式填空: 1. We went to a beautiful town and spent a/an _________________ (forget) day. 2. I have no _______________ (inform) about where he has gone. 3. The composer is also a __________________ ...