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'