首页 > 其他 > 详细

16-3 update语句

时间:2017-07-14 22:59:32      阅读:295      评论:0      收藏:0      [点我收藏+]
--打开和关闭查询窗口:ctrl+R

--更新语句:
--update 表名 set 列=新值,列2=新值2,... where 条件
--update语句,如果不加where条件,那么表示对表中所有的数据都进行修改,所以一定要加where条件
update TblStudent set tSAge=tSAge-1,tSName=tSName+(女) where tSGender=

C#中的  !  &&   ||  ,sql语言中就是 not   and   or ,优先级从左往右递减。<>表示不等于。

16-3 update语句

原文:http://www.cnblogs.com/Strugglinggirl/p/7172953.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!