sequence generator programmatic invocation (preferably JDBC)

From: "Reshat Sabiq" <sabiq(at)purdue(dot)edu>
To: "'PGSQL Novice List'" <pgsql-novice(at)postgresql(dot)org>
Subject: sequence generator programmatic invocation (preferably JDBC)
Date: 2002-12-29 12:11:30
Message-ID: 000001c2af33$6c711b60$6c80d380@main
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I wonder how I call nextval('mysequence') programmatically, preferably
in Java. But if you could give an example in another language, I'd
probably figure it out as well.

Is it the same as a call to a stored procedure? Or is just a normal SQL
statement?

Thanks,
r.

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Reshat Sabiq 2002-12-29 13:35:26 altering column length
Previous Message Tom Lane 2002-12-27 05:26:49 Re: Heavy security bug in 7.2.2-16?