Increment my id in my insert request

Posted by Mercer on Stack Overflow See other posts from Stack Overflow or by Mercer
Published on 2010-06-08T08:22:49Z Indexed on 2010/06/08 8:32 UTC
Read the original article Hit count: 192

Filed under:
|

hello, i have a table with some rows.

idClient, name, adress,country,...

i want to know how i can do an insert into this table with auto increment my idClient in my sql request..? Thx.

edit: i want do a request like this

insert into Client values((select max(idClient),...)

© Stack Overflow or respective owner

Related posts about mysql

Related posts about increment