Nextval & Currval - Mailing list pgsql-sql

From Shavonne Marietta Wijesinghe
Subject Nextval & Currval
Date
Msg-id 004c01c8cae0$48d23580$0602a8c0@DREAM
Whole thread Raw
Responses Re: Nextval & Currval
Conceptual Design Question
List pgsql-sql
Hello
 
I'm using Nextval and Currval in my ASP programme. But everytime i run the code only the nextval record is inserted and the currval record is lost. I wrote the INSERT INTO in the log and when i tried it via pgadmin both the records were inserted correctly, so there is no syntax error.
I thought the problem would be the connection to the DB. I connect to the DB in the same ASP page where I do the INSERT INTO.
 
What am i doing wrong?? Any ideas anyone??
 
Thank you.
 
Shavonne Wijesinghe

pgsql-sql by date:

Previous
From: Patrick Scharrenberg
Date:
Subject: Re: returning results from an update for joining other tables
Next
From: "A. Kretschmer"
Date:
Subject: Re: Nextval & Currval