ORA-04013:number to CACHE must be less than one cycle的处理
Error reporting
When we write the sequence of ORACLE, we may be prompted with the following error:
Cause Analysis
The CACHE value must be less than the CYCLE value. It is displayed by searching the data and needs to meet the following formula:
CACHE <= CEIL((MAXVALUE - MINVALUE) / ABS(INCREMENT))
As shown in the figure above, the calculation cache <= ceil((320-30) / abs(10)) = 29,
so when the cache is set to <= 29, there should be no error.
verify
The cache is set to 29 and no error is reported.