如何在SQl中更改列 [英] how to alter column in SQl
本文介绍了如何在SQl中更改列的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
alter table location
alter column empname locat varchar();
但是我的查询无法解决
请帮我解决这个问题
but my query is not working out
please help me out of this question
推荐答案
你需要在你的字段名[empname locat]周围加上[],因为它有一个空格。
You need to put [] around your field name [empname locat] since it has a space in it.
这篇关于如何在SQl中更改列的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文