Database Administration (MOSC)

MOSC Banner

Having decimal values in sequence generated column

edited Jan 2, 2026 2:22PM in Database Administration (MOSC) 15 commentsAnswered

Facing a weird prod issue where we are having decimal values (XXXXX.5) as sequence generated numbers.

Also the sequence is all over the place in terms of values generated, even outside of 'cache and increment by' limits.

It is a non-RAC environment ("Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production Version 19.27.0.0.0")

SEQUENCE_NAME MIN_VALUE MAX_VALUE INCREMENT_BY CYCLE_FLAG ORDER_FLAG CACHE_SIZE LAST_NUMBER SCALE_FLAG EXTEND_FLAG SHARDED_FLAG SESSION_FLAG KEEP_VALUE

DV_POSTING_SEQ 1 1E+28 50 N N 400 16042480351 N N N N N

Is it really possible to generate decimal values via sequence?

This has caused a huge issue in the application.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center