DB_SEQUENCE->close API Ref

#include <db.h>

int DB_SEQUENCE->close(DB_SEQUENCE *seq, u_int32_t flags);


Description: DB_SEQUENCE->close

The DB_SEQUENCE->close method closes the sequence handle. Any unused cached values are lost.

The DB_SEQUENCE handle may not be accessed again after DB_SEQUENCE->close is called, regardless of its return.

The DB_SEQUENCE->close method returns a non-zero error value on failure and 0 on success.

Parameters
flags

Errors

The DB_SEQUENCE->close method may fail and return one of the following non-zero errors:


EINVAL


Class DB_SEQUENCE
See Also Sequences and Related Methods

APIRef

Copyright (c) 1996,2008 Oracle. All rights reserved.