简体   繁体   English

更改表中的语法错误,导致ms访问在列之后添加列

[英]syntax error in alter table for ms access for adding column after a column

i want to add a new column after a specific column in ms access database . 我想在ms Access数据库中的特定列之后添加一个新列。 i used the following query : 我使用以下查询:

ALTER TABLE tblName DOUBLE ADD newCol AFTER oldCol

it gives following error 它给出以下错误

Syntax error in ALTER TABLE statement ALTER TABLE语句中的语法错误

please help .. im stuck here for a while 请帮助..我在这里停留了一段时间

Adding a column at a specific location is not important because you can easily change the order of displaying in SELECT statement. 在特定位置添加列并不重要,因为您可以轻松更改SELECT语句中的显示顺序。

There is a very useful post by Pinal Dave you can find it here. Pinal Dave有一个非常有用的帖子,您可以在这里找到。

How to Add Column at Specific Location in Table 如何在表中的特定位置添加列

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM