Board index » delphi » "missing expression" with Oracle

"missing expression" with Oracle

If I try to make a table active in the IDE which has a clob field, I get
the ORA error "missing expression". I can select the row in SQL PLUS. Is
there some secret handshake when using clob's with D4 and Oracle?
 

Re:"missing expression" with Oracle


Another shot in the dark:  Make sure you are in a transaction because CLOB
locators are not persistent across transactions.

V/R
Russell L. Smith

Quote
Frank Cooley wrote in message <364873B8.92525...@dnaco.net>...
>If I try to make a table active in the IDE which has a clob field, I get
>the ORA error "missing expression". I can select the row in SQL PLUS. Is
>there some secret handshake when using clob's with D4 and Oracle?

Re:"missing expression" with Oracle


That rings a bell.  You made me remember that I was able to open the table
sometime in the past. I couldn't write to it because I wasn't using
transactions, but I believe that I could at least open the table. I've since
built a test table with just a clob in it and I wonder if the problem is in
how I've defined it on the oracle side?
Quote
Russell L. Smith wrote:
> Another shot in the dark:  Make sure you are in a transaction because CLOB
> locators are not persistent across transactions.

> V/R
> Russell L. Smith

> Frank Cooley wrote in message <364873B8.92525...@dnaco.net>...
> >If I try to make a table active in the IDE which has a clob field, I get
> >the ORA error "missing expression". I can select the row in SQL PLUS. Is
> >there some secret handshake when using clob's with D4 and Oracle?

Re:"missing expression" with Oracle


Ah! I solved it.  My table had only a clob field.  Apparently akey field
is needed to make the the clob work. adding a key ID field allowed me to
open the table.
Quote
"Russell L. Smith" wrote:

> Another shot in the dark:  Make sure you are in a transaction because CLOB
> locators are not persistent across transactions.

> V/R
> Russell L. Smith

> Frank Cooley wrote in message <364873B8.92525...@dnaco.net>...
> >If I try to make a table active in the IDE which has a clob field, I get
> >the ORA error "missing expression". I can select the row in SQL PLUS. Is
> >there some secret handshake when using clob's with D4 and Oracle?

Other Threads