Nex in Sequence

You might also like

Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

Ab Initio Initilize next_in_sequence

9/28/2005 By ITtoolbox Popular Q&A Team for

ITtoolbox as adapted from Abinitio-L discussion group Summary: I know next_insequence works like an automated number assigning numbers to each record in order, how can I start next_in_sequence from 100? Full Article: Disclaimer: Contents are not reviewed for correctness and are not endorsed or recommended by ITtoolbox or any vendor. Popular Q&A contents include summarized information from ITtoolbox Abinitio-L discussion unless otherwise noted. Adapted from a response by Chris Day On Thursday, September 22, 2005 1. just do a next_in_sequence() + 100 2. writing a custom function that would return next_in_sequence() + 100 3. Use a generate records to create a 100 dummy records with a function field defined as record decimal(10) sequence() = next_in_sequence(); end;

You might also like