Sequences
Sequences
Document History
# MODIFIED (MM/DD/YY)
# epost 05/1/06 – Created.
Every sequence name should match the column name it is primarily used for?
o Why? Because it makes it very easy for us to determine which tables the sequence is associated
with and to validate that the existing data is not in conflict with the sequence. This can easily
happen when migrating data from one database to another.
Sequences are checked into SourceSafe into the sequences folder.
File names must start with “seq”.
File names must be lower-case.
The file should contain a command to create a public synonym for the sequence. It is preferred that you
use the procedure in PERADIGM_CONFIG package to do this.
CACHE or NOCACHE
When you create a sequence you have the option to specify the option to set the caching option. You should
cache values on sequences that will be called frequently. When the database is restarted values in cache will be
lost but this should not be a concern because you SHOULD NEVER use sequences when your application
requires that no value be lost.
and…
80 rows selected.