Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Use of sequences over db link

Use of sequences over db link

From: <tjmxyz_at_my-deja.com>
Date: Mon, 15 Nov 1999 15:15:37 GMT
Message-ID: <80p82l$4ht$1@nnrp1.deja.com>


How can 1 use sequences over a dblink

I do a query such as ...
select pdmlogseq.nextval_at_d704 from dual;

This works

An insert such as...
insert ....
pdmlogseq.nextval_at_d704);

Works but then the query:
select pdmlogseq.currval_at_d704 from dual;

Fails: With sequence not difined for this session...

How can I (should I do the following three queries with a sequence over a dblink!??!

1)insert ....
pdmlogseq.nextval_at_d704);
2) select pdmlogseq.currval_at_d704 from dual; 3) select pdmlogseq.nextval_at_d704 from dual;

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Mon Nov 15 1999 - 09:15:37 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US