在myeclipse中写sql语句的细节问题

时间:2023-03-10 07:21:52
在myeclipse中写sql语句的细节问题

注意类型,varchar 和int  在java中表示为sql语句中的细微区别!!

下面的REGISEAT_NUM为int 类型       custid为varchar类型

String sql1="update dacustxy set REGISEAT_NUM=17 where CUSTID="+"'"+custid+"'";

相关文章