C#问题 [英] c# questions

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

问题描述

如何在sql server 2005中更新?

选择了两列,但我只需要更新一列.

How to update in sql server 2005?

Two columns selected but i have to update only one column how ist possible.

推荐答案

UPDATE myTable
SET
    myColumn1 = [value] 
WHERE
    myColumn1 = [value1]
    AND myColumn2 = [value2]


Abhinav 已经给出了与您匹配的答案您的需要.
但是您应该单击给定的链接以了解更新表的不同选项.
更新表 [
Abhinav already given you a answer which matches your need.
but you should click on the given link to learn different options of update table.
Update Table [^]


这篇关于C#问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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