不带WHERE子句的UPDATE查询 [英] UPDATE Query without WHERE Clause

查看:79
本文介绍了不带WHERE子句的UPDATE查询的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我知道这听起来像是一个愚蠢的问题,但是我想知道 update 查询是否可以在没有 where 子句。

I know it sounds to be a stupid question but i was wondering if the update query can be used without a where clause. And if so in what conditions.

预先感谢。

推荐答案

如果不使用 WHERE 子句,表上的所有记录将受到影响

if you don't use the WHERE clause all the records on the table will be affected

这篇关于不带WHERE子句的UPDATE查询的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆