我使用的是oracle数据库,想在jsp页面中写几条sql语句,但是得保证他们必须成为原子属性,该如何写呢?高手帮忙!
sql如下:
String strSql1 = "update client set name ='"+ name+"' where id = '"+ id +"'"; 
strSql2 = "update sell set name ='"+ name+"' where id = '"+ id+"'";