动态列创建 [英] dynamic column creation

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

问题描述

你好,我有一个疑问,看到我的要求是在现有的表中添加一个新列,例如列名应该自动给出变量的名称。我把查询写成

hello , i have a doubt , see my requirement is to add a new column to an existing table such tat the column name should be automatically given the name of the variable . i wrote the query as

展开 | 选择 | Wrap | 行号

推荐答案

你得到了什么错误?


请在add和''+ @ count +''之间加上空格。
What error you got?

Please Put the Space between add and ''+@count+''.


展开 | 选择 | Wrap | 行号


请发送您编写的编码功能以更改表格。
Please send the function Coding you wrote to alter the Table.


这篇关于动态列创建的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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