I have this simple table:
CREATE TABLE foo
(
storeName varchar(50),
keyName varchar(50),
docname varchar(512),
config clob,
CONSTRAINT foo_pk PRIMARY KEY(storeName, keyName)
)
And this select statement:
SELECT config ,docname
FROM foo
WHERE storeName = 'SolutionFramework'
AND keyName = 'Solutions'
And this is the error I get: (42000/904) ORA-00904: "KEYNAME": invalid identifier
Can anyone help me with this?
keyNameand not as"keyName"? The latter preserves case in the name and forces you to refer to it in a case-sensitive manner, i.e. as"keyName". - Klas Lindbäck