walleskamejias Newbie

Joined: 14 Oct 2008 Posts: 3 :
Items
|
Posted: Tue Oct 14, 2008 7:19 pm Post subject: Error: Autoincrement in PostgreSQL |
|
|
Greetings to everybody
I have a autoincrement field in my database, and i don't know how insert this field using PHP DataGrid.
The following error:
1) INSERT INTO equipos VALUES ('nextval(\'equipos_id_seq\')', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', '1', 'OPERATIVO', '1')
[nativecode=ERROR: invalid input syntax for integer: "nextval('equipos_id_seq')"] |
|