DB_common::createSequence()

DB_common::createSequence() -- Creates a new sequence

Synopsis

integer createSequence (string $seq_name)

Описание

See "Intro - Sequences"

Параметр

string $seq_name

name of the new sequence to create

Возвращаемое значение

integer - DB_OK or a DB_Error object on failure

Throws

Таблица 22-1. Возможные значения PEAR_Error

Error codeError messageReasonSolution
every error code  Database specific error Check the name of the sequence. If correct, probably a bug in the sequence implementation

Заметка

Эта функция не должна вызываться статически.

Пример

См. также

"Intro - Sequences", nextId(), dropSequence()


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ