Using Sequence.Nextval in PostgreSQL

Last Reply one month ago By kalpesh

Posted one month ago


im new to postgreSQL,

how to write insert query with sequence.nextval,

i wrote query like below,

sql=insert into abc(id,name) value  (nextval('sequencename'),'"+txt.text+"');

but, getting an error like 'Relation doesn't exist'

You are viewing reply posted by: kalpesh one month ago.
I agree, here is the link: