问题是这样的,我现在有三个行的id(1,2,3);和三个数据(a,b,c);要使a更新到列名为名字id为1的行里,b更新到id为2的行里
解决方案 »
- 关于关闭浏览器的问题
- 怎么得到点击进入另一个页面的那个页面的地址啊?(在线等,急)
- 迷茫的我,不知如何选择……
- 菜鸟问题:怎样在CSS里面设置页面样式???
- 3000元,在北京可以组装到什么配置的电脑?
- 调试.asp.net出错了
- 同志们啦!我们做好的ASP.NET程序,现在想把它发布到网上去,除买FTP空间,还要做些什么呀?接下来又怎么做呀?请指教指教哦!
- 如何获取动态生成的TextBox的内容
- 如何在选定DataGrid 里的CheckBox 后即刻更新相对应的数据库里值
- mvc 浏览器回退
- C#截取.之前的字符?
- 关于O/R Mapping还是R/O Mapping的思考,我们应该选择什么?
set mingzi =case id when 1 then 'a' when 2 then 'b' when 3 then 'c' end
不能将值 NULL 插入列 'mingzi',表 'table';列不允许有空值。UPDATE 失败。
set mingzi =case id when 1 then 'a' when 2 then 'b' when 3 then 'c' end
where id in(1,2,3)
set mingzi =case id when 1 then 'a' when 2 then 'b' when 3 then 'c' end
where id in (1,2,3)
少个空格