previousMDB_Common::createSequence() (Previous) (Next) MDB_Common::disconnect()next

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

MDB_Common::currId()

MDB_Common::currId() – シーケンスの現在の ID を返す

Synopsis

require_once 'MDB.php';

resource currId ( string $seq_name )

Description

"導入 - シーケンス" を参照ください。

Parameter

string $seq_name

シーケンスの名前。

Return value

resource - 使用可能な ID、あるいは失敗した場合に MDB_Error を返します。

Throws

Possible PEAR_Error values
エラーコード エラーメッセージ 原因 対応
MDB_ERROR_NOT_CAPABLE NULL Function is not supported by the database backend もしほんとうにその機能が必要なら、別のデータベースシステムに変更します。
MDB_ERROR_NOT_LOCKED NULL Locking of sequence table fails データベースに依存します。データベースのドキュメントを確認してください。
MDB_ERROR_NOSUCHTABLE NULL Sequence table was not found 新しいシーケンスを作成してください。 作成しているのにエラーが発生する場合は、データベースの整合性を調べてください。

Note

This function can not be called statically.

previousMDB_Common::createSequence() (Previous) (Next) MDB_Common::disconnect()next

Download Documentation Last updated: Sun, 21 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.