DB_common::dropSequence()

DB_common::dropSequence() -- Deletes a sequence

Synopsis

integer dropSequence (string $seqName)

Описание

See "Intro - Sequences"

Параметр

string $seqName

name of the sequence to delete

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

integer - DB_OK or a DB_Error object on failure

Throws

Таблица 34-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.

Заметка

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

Внимание

When using PEAR DB's sequence methods, we strongly advise using these methods for all procedures, including the creation of the sequences. Do not use PEAR DB's methods to access sequences that were created directly in the DBMS. See the warning on the "Intro - Sequences" page complete information.

Пример

См. также

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


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