Re: [SQL] Sequences problem

2007-08-17 Thread Scott Marlowe
On 8/17/07, Judith <[EMAIL PROTECTED]> wrote: > Hello everybody, I have a question related with sequences. > > When I init a sesion with my db, if a do the next sentence: > > SELECT currval('pagos_id_pago_seq'); > > > return this: >ERROR: the relation doesn't exist > (or s

Re: [SQL] Sequences problem

2007-08-17 Thread Andrew Sullivan
On Fri, Aug 17, 2007 at 04:33:04PM -0500, Judith wrote: > When I init a sesion with my db, if a do the next sentence: > >SELECT currval('pagos_id_pago_seq'); > > > return this: > ERROR: the relation doesn't exist >(or somethimg like that, because the message is in spanish) You _must