in reply to MySQL / Perl

Yes, it is very simple, all you need to do is insert a row into your table with the value 234097 explicitly stated in your auto incrementing column, and then delete the row. When you insert that row, it will update the last_insert_id value to 234097. The next time you insert a null value into that column, it will replace the null with last_insert_id + 1 and then update last_insert_id, so it should start counting up from 234098 as you requested.

Replies are listed 'Best First'.
Re: Re: MySQL / Perl
by George_Sherston (Vicar) on Dec 20, 2001 at 20:52 UTC
    This is the way: but if it's important to have the min. value it's probably worth leaving the row instead of deleting it. IME, when one deletes the entire contents of the table, the auto_increment starts again from 1.

    § George Sherston