previousMDB_Common::affectedRows() (Previous) (Next) MDB_Common::currId()next

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

MDB_Common::createSequence()

MDB_Common::createSequence() – create a new sequence

Synopsis

require_once 'MDB.php';

integer createSequence ( string $seq_name , integer $start )

Parameter

string $seq_name

name of the new sequence to create

integer $start

starting value of the sequence

Return value

integer - MDB_OK or MDB_Error, if fail

Throws

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.

previousMDB_Common::affectedRows() (Previous) (Next) MDB_Common::currId()next

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.