根据传递的参数更新表值中的列值 [英] update column value in table values based on the parameter passed

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

问题描述

我有一个表,该表的列为C1,c2,c3,c4.
管理员可以更新任何一列或所有列.我无法思考如何执行此操作.任何人都可以对此

I have one table having columns C1,c2,c3,c4.
admin can update any one of the column or all column. i am not able to think how can i perform this. can anyone give any advice on this

推荐答案

提出任何建议.您将执行查询.

You will execute the query.

Alter table tablename alter column c1



希望对您有所帮助.



Hope this can help you.


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

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