Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Sequences in Oracle with ODBC
Don't prefix the sequence with sequence and the TAO will ensue.
SQL> select Asequence.nextval from dual
I'm assuming you DO NOT have a schema named sequence, which contains sequence: Asequence.
Is is possible to have a schema named sequence??? I shudder the conSequence
"Jan Driesen" <jan.driesen_at_glo.be> wrote:
> Hi,
>
> I made an ODBC connection to Oracle.
> I can access the tables. (select * from Atable).
> It is not possible to access the sequences (select
> sequence.Asequence.nextval from dual)
>
> Does anyone know to how to retrieve values from a oracle sequence with
> odbc?
>
> Thanks,
>
> From Jan Driesen, jan.driesen_at_glo.be
>
--
joebrown
@leading.net
Received on Thu Oct 01 1998 - 17:24:20 CDT