简体   繁体   English

是否可以在Access中的查询表中更改列的名称?

[英]Is it possible to change the name of a column in a query table in Access?

I have made a query table using a combination of local tables and other queries in Microsoft Access. 我使用本地表和Microsoft Access中的其他查询的组合制作了查询表。 Two of the columns in this query have the same name, is this possible to change in query designer? 此查询中的两个列具有相同的名称,这可能在查询设计器中更改吗?

Add MyNewFieldname: before the field name. 在字段名称之前添加MyNewFieldname: On the query designer that would be at the very left of the top line. 在查询设计器上,它将位于第一行的最左侧。 Make sure you add it, not replace what is already there. 确保添加它,而不是替换已经存在的东西。

Or in SQL view use 'AS MyNewFieldName` after the field you wish to alias/rename. 或在SQL视图中,在要别名/重命名的字段后使用“ AS MyNewFieldName”。

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

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