Using Sequence.Nextval in PostgreSQL

Last Reply 7 months ago By kalpesh

Posted 7 months ago

hi,

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 7 months ago.
I agree, here is the link: https://www.e-iceblue.com/Introduce/spire-office-for-net-free.html