Oracle query on String [duplicate]
问题 This question already has answers here : ORA 00904 Error:Invalid Identifier (2 answers) Closed last month . I want to perform my query on a string in this format, xxxx/xxxx where x is a number. when I perform it using the Oracle interface or my C# application I get this error: ORA-00904: "xxxx/xxxx": invalid identifier I performed this query: SELECT * FROM "My Table" WHERE Field="xxxx/xxxx" 回答1: You should use single quotes aroung SQL character literals like xxxx/xxxx: SELECT * FROM "My Table