Additional
dbCAP
AnyDAC
ThinDAC
NCOCI8
Topic: Update error
Update error
Posted: 2000/09/01 16:56
 
OCIQuery1.Sql.Add('Select * from ... order by ...');
Why I can't edit this query.
...
OCIQuery1.Edit;
...
OCIQuery1.Post;

Error: 'Missing ")"'
RE: Update error
Posted: 2000/09/01 20:54
 
Hi !

The problem is follows ... NCOCI8 did not extract table name from SELECT query. It creates updating querys, using syntax: UPDATE (<original query> SET ... WHERE ... It is good, until you not have a ORDER BY phrase, because you can not use ORDER BY in subquerys. So, there are 2 options (and more):
- remove ORDER BY from your query;
- use TOCIUpdateSQL with filled TableName property.