Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 dbf 中有一个名为 DESC 的列名。当我尝试使用 C# ODBC 使用 INSERT 时,它会给出错误,因为 DESC 不能是有效的列名(我认为)。但我只需要对该列使用 DESC。如何使用它?
由于 DESC 是保留字,因此您需要将列名括在方括号中。
INSERT INTO MyTable ([DESC]) VALUES ('My Description')