Difference between revisions of "HR.DEPARTMENTS SEQ (sequence)"

From dbscript Online Help
Jump to: navigation, search
Line 2: Line 2:
  
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
|-
+
|- valign="top"
 
| '''Sequence
 
| '''Sequence
 
| HR.DEPARTMENTS_SEQ
 
| HR.DEPARTMENTS_SEQ
|-
 
 
|}
 
|}
 
  
 
=== Sequence ===
 
=== Sequence ===
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
|-
+
|- valign="top"
 
| Start Value
 
| Start Value
 
| 1
 
| 1
|-
+
|- valign="top"
 
| Max. Value
 
| Max. Value
 
|  
 
|  
|-
+
|- valign="top"
 
| Increment
 
| Increment
 
| 10
 
| 10
|-
+
|- valign="top"
 
| Cache Values
 
| Cache Values
 
|  
 
|  
|-
+
|- valign="top"
 
| Cycle
 
| Cycle
 
|  
 
|  
|-
 
 
|}
 
|}
 +
<pre>
 +
CREATE SEQUENCE HR.DEPARTMENTS_SEQ
 +
INCREMENT BY 10
 +
START WITH 1
 +
MAXVALUE 9990
 +
CACHE  CYCLE
 +
</pre>

Revision as of 06:14, 24 June 2010

wikibot

Sequence HR.DEPARTMENTS_SEQ

Sequence

Start Value 1
Max. Value
Increment 10
Cache Values
Cycle
CREATE SEQUENCE HR.DEPARTMENTS_SEQ
INCREMENT BY 10
START WITH 1
MAXVALUE 9990
CACHE  CYCLE