Re: [PHP-DB] PostgreSql query help....

2001-11-21 Thread GB Clark II
On Monday 19 November 2001 20:27, Vincent Ma wrote: > 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". > > H

[PHP-DB] PostgreSql query help....

2001-11-19 Thread Vincent Ma
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