.net 一次施行多个oracle sql 语句

.net一次执行多个oracle sql 语句在。netC#语句中 如何定义一个sql y语句 同时执行两个 update语句stringsq

.net 一次执行多个oracle sql 语句
在。net C# 语句中 如何定义一个sql y语句 同时执行两个 update 语句

  string sql=@"update table set name1='aa' where id='bb';
  update table set name2='aa' where id='cc'";

 执行报错,无效字符

 求解 求 解 求解 !!!!!!!!!一定需要存储过程吗

[解决办法]
分号去掉换成空格

C# code
string sql = @"update table set name1='aa' where id='bb'                               update table set name2='aa' where id='cc'";