PostgreSql query help....

From: Date: Tue, 20 Nov 2001 02:27:24 +0000
Subject: PostgreSql query help....
Groups: php.db 
Request: Send a blank email to php-db+get-14452@lists.php.net to get a copy of this message
Hi everybody: I would like to ask why the error occur when retrieve current sequence number. Eg. "select currval('student_id_seq')" is not working, and warning prompt "student_id_seq.currval is not yet defined in this session". However, this is work for the "select nextval()"; do anyone know how to get current sequence number, in php. Thank for your help Vincent Ma

« previous php.db (#14452) next »