polundra
User
 Fresh Boarder
| Posts: 5 |   | Karma: 0 |
|
RE: Error during table's edition
|
|
Posted: 2002/08/12 09:18 |
|
|
|
|
OK, this error fixed. Now I have next code:
FORM1.OCIQuery1.SQL.Text:='select col1 from tab1 where col1:=param'; form1.OCIQuery1.Prepare; form1.OCIQuery1.ParamByName('param').Value:=8; form1.OCIQuery1.Open;
and next error: Project MyProj.exe raised exception class EOCINativeError with message 'OCI_ERROR ORA-00920: invalid relational opereator'. Process stopped. Use Step or Run to continue.
About ORA-00920: ORA-00920 invalid relational operator Cause: A search condition was entered with an invalid or missing relational operator. Action: Include a valid relational operator such as =, !=, ^=, <>, >, <, >=, <=, ALL, ANY, [NOT] BETWEEN, EXISTS, [NOT] IN, IS [NOT] NULL, or [NOT] LIKE in the condition.
Where was my search condition is invalid ? Col1 is Primary Key, NUMBER. In SQL/Plus next string: SELECT col1 FROM tab1 WHERE col1=8 is correct.
|
|