PEAR Manual
Prev |  | Next

# MDB_Common::dropSequence()

MDB_Common::dropSequence() -- deletes a sequence

## Synopsis

    require_once 'MDB.php';

``integer dropSequence` (string $seqName)`

## Description

See "Introduction - Sequences"

## Parameter

string `$seqName`

  name of the sequence to delete

## Return value

- `integer` - `MDB_OK` or MDB_Error, if fail

## Throws

Table 33-1. Possible PEAR_Error values

Error code | Error message | Reason | Solution
--- | --- | --- | ---
every error code |  | Database specific error | Check the name of the sequence. If correct, probably a bug in the sequence implementation.

## Note

This function can not be called statically.

## See

MDB_Common::createSequence() , MDB_Common::nextId()

Prev | Home | Next
MDB_Common::disconnect() | Up | MDB_Common::execute()