Re: truncate table-auto increment values
Rick James Wrote:
-------------------------------------------------------
> ALTER TABLE AUTO_INCREMENT=1;
>
> However, beware... There are cases where
> AUTO_INCREMENT values will skip a number. These
> tend to involve situations you have probably not
> encountered yet -- system crashes, concurrent
> INSERTs into the table, ROLLBACKs, etc.
This command you are mentioning above...will I apply whenever I truncate the table or I will set it once and that is that.
Thanks.
Subject
Written By
Posted
Re: truncate table-auto increment values
April 07, 2014 01:15PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.