|
|
DB_SEQUENCE->initial_value |
#include <db.h>int DB_SEQUENCE->initial_value(DB_SEQUENCE *seq, db_seq_t value);
Set the initial value for a sequence. This call is only effective when the sequence is being created.
The DB_SEQUENCE->initial_value method may not be called after the DB_SEQUENCE->open method is called.
The DB_SEQUENCE->initial_value method returns a non-zero error value on failure and 0 on success.
The DB_SEQUENCE->initial_value method may fail and return one of the following non-zero errors:
Copyright (c) 1996-2005 Sleepycat Software, Inc. - All rights reserved.