增、删、改 用executeUpdate()
返回值为int型,表示被影响的行数
executeUpdate()与executeQuery()的使用
例子
executeUpdate()与executeQuery()的使用
查用executeQuery() 返回的是一个集合
.next()表示 指针先下一行,还有first()指向第一行 、last()指向最后一行、如果有数据就返回true
executeUpdate()与executeQuery()的使用

相关文章:

  • 2021-08-21
  • 2022-12-23
  • 2021-07-12
猜你喜欢
  • 2022-12-23
  • 2021-11-30
  • 2022-12-23
  • 2021-06-30
  • 2021-09-14
  • 2022-12-23
  • 2021-12-01
相关资源
相似解决方案