RE: [cx-oracle-users] Can't get nextval
Brought to you by:
atuining
From: Moore, P. <Pau...@at...> - 2004-02-26 16:54:58
|
From: Antonio Beamud Montero > query =3D "SELECT allocation_seq.nextval FROM allocation" > self._cursor.execute(query) > newid, =3D self._cursor.fetchone() > print newid > But it returns nothing...=20 Select from dual instead of from allocation. I'm guessing that your allocation table is empty. Paul |