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.
我想以这种格式对字符串执行我的查询,xxxx/xxxx
其中 x 是一个数字。当我使用 Oracle 界面或我的 C# 应用程序执行它时,我收到此错误:
ORA-00904: "xxxx/xxxx": invalid identifier
我执行了这个查询:
SELECT * FROM "My Table" WHERE Field="xxxx/xxxx"
您应该在 xxxx/xxxx 等 SQL 字符文字周围使用单引号:
SELECT * FROM "My Table" WHERE Field='xxxx/xxxx'