如何更新表中的所有列? [英] how can i update all the columns in a table?

查看:141
本文介绍了如何更新表中的所有列?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在sql中更新表中的所有列?

how can i update all the columns in a table in sql?

推荐答案

UPDATE table_name
SET 
    column1 = value1,
    column2 = value2,... --Assign values to all the columns like this
WHERE 
    some_column = some_value;


你可以在sql中更新整个列,请按照这个url进行更新,不同的方式。



http://www.techonthenet.com/sql/update.php



谢谢

享受!!!!
you can update entire whole column in sql please follow this url and you can update different way.

http://www.techonthenet.com/sql/update.php

thank you
enjoy!!!!


如果您的问题是直截了当的,那么这将有助于您..

请参阅此链接以更新sql列表..

sql_update [ ^ ]
if your question is straight forward, then this will help you..
refer this link for updating columns of sql table..
sql_update[^]


这篇关于如何更新表中的所有列?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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