mysql - Add nonexistent ID to database -


i have database starts @ id = 1000. want add entry @ id = 1. using mysql. done once, , not care rest of 2 - 999 values. concerned adding @ id = 1, id not exist cannot update it.

you can insert , define id rather allowing auto_increment normal job.

insert table (id, another_column, ... ) values (1, 'some value', ... ); 

Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -