PHP 7.2.0 Release Candidate 2 Released

cubrid_insert_id

(PECL CUBRID >= 8.3.0)

cubrid_insert_idReturn the ID generated for the last updated AUTO_INCREMENT column

Descrição

string cubrid_insert_id ([ resource $conn_identifier ] )

The cubrid_insert_id() function retrieves the ID generated for the AUTO_INCREMENT column which is updated by the previous INSERT query. It returns 0 if the previous query does not generate new rows, or FALSE on failure.

Nota:

CUBRID supports AUTO_INCREMENT for more than one columns in a table. In most cases, there will be a single AUTO_INCREMENT column in a table. If there are multiple AUTO_INCREMENT columns, this function should not be used even if it will return a value.

Parâmetros

/blo
/;d by the previous INSERT query. It retlyNyâm the previreturns 0ly obt>Refewhicable gmment"> The yN="/man"> The yNcubraert_id().Report pUI Extess="parnsions turn a >
DescretlReturn the Ip'>Ill be a single AUTO_Ihich ipotaeturns 0 if th, rosuolder. eturn a varetlAUTO_INCREMENT< rows, or F eturn a >
Descretl ENT c> tr <Vnse"titlte> <3 class="titlte> tltrRT quer tlt lang="pt < tr <8.4.0tltd < array
>
Pa>
xatorisect1 xatori-1083nhpota The cubrid_insert_id()< xatoribrid_insertphpota<
xatori-"> l.e: #000000nl.e: #0000BB"><?nhp
l.e: #007700n<= l.e: #0000BB">nction"dra">yNl.e: #007700n<(l.e: #DD0000n<" l.e: #007700n<, l.e: #0000BB">33000l.e: #007700n<, l.e: #DD0000n<"domodb"l.e: #007700n<);
l.e: #0000BB">nction"executel.e: #007700n<(l.e: #0000BB">ass="l.e: #007700n<, l.e: #DD0000n<"DROP TABLE nction"teta"l.e: #007700n<);
l.e: #0000BB">nction"executel.e: #007700n<(l.e: #0000BB">ass="l.e: #007700n<, l.e: #DD0000n<"a sATE TABLE nction"teta (d ina Ill be a singl(1, 2), a v l.e: #007700n<);
l.e: #0000BB">ai l.e: #007700n<= l.e: #0000BB">0l.e: #007700n<; l.e: #0000BB">ai l.e: #007700n<< l.e: #0000BB">10l.e: #007700n<; l.e: #0000BB">ail.e: #007700n<++) {
l.e: #0000BB">nction"executel.e: #007700n<(l.e: #0000BB">ass="l.e: #007700n<, l.e: #DD0000n<"the pr INTO nction"teta(t) VALUES('nction"teta')"l.e: #007700n<);
l.e: #0000BB">aid l.e: #007700n<= l.e: #0000BB">nction"refname">cubrid_gmmentp://flt">l.e: #007700n<();
l.e: #0000BB">v _dumpl.e: #007700n<(l.e: #0000BB">a">cubrid_gmmentp://flt">l.e: #007700n<);
l.e: #0000BB">nction"disdra">yNl.e: #007700n<(l.e: #0000BB">ass="l.e: #007700n<);
l.e: #0000BB">?o">(dentifiedentifiedes INSts">
    xatori-"> xatori-">
  • i> ;19&p> ;edeerc I E >ufna> Ta
    sell>add aviouedensell>braert_id()id-description"> Par> >er"> ' <'hpotatid.php menu-toggle"'ra"feateckbolita' rt/manual/pt_BR/ref.cubrid.php'>CUBRID Fun&ccedipotatid.php me id.php me
  • id.php me nction"​binnert-id.php"/divvvvvvvvvvvvvvvl/t Involvedvvvvvvvvvvvvvvvvvvvvid.php me id.php me nction"​crtie"​ercra"fert-id.php"/divvvvvvvvvvvvvvvl/t Involvedvvvvvvvvvvvvvvvvvvvvid.php me id.php me nction"​crtie"​requetaert-id.php"/divvvvvvvvvvvvvvvl/t Involvedvvvvvvvvvvvvvvvvvvvvid.php me id.php me nction"​col"​ge.ert-id.php"/divvvvvvvvvvvvvvvl/t Involvedvvvvvvvvvvvvvvvvvvvvid.php me id.php me nction"​col"​sizfert-id.php"/divvvvvvvvvvvvvvvl/t Involvedvvvvvvvvvvvvvvvvvvvvid.php me id.php me nction"​column"​ual/eert-id.php"/divvvvvvvvvvvvvvvl/t Involvedvvvvvvvvvvvvvvvvvvvvid.php me id.php me nction"​column"​tage.typeid.php"/divvvvvvvvvvvvvvvl/t Involvedvvvvvvvvvvvvvvvvvvvvid.php me id.php me nction"​commintypeid.php"/divvvvvvvvvvvvvvvl/t Involvedvvvvvvvvvvvvvvvvvvvvid.php me id.php me yN-ms.p-urlctionleases/fnction"​coa">yN"​ms.p"​nction"​coa">yN"​ms.p"​ id.php me yNctionleases/fnction"​coa">yNn>nction"​coa">yNtypeid.php"/divvvvvvvvvvvvvvvl/t Involvedvvvvvvvvvvvvvvvvvvvvid.php me id.php me nction"​coto se"​ointypeid.php"/divvvvvvvvvvvvvvvl/t Involvedvvvvvvvvvvvvvvvvvvvvid.php me id.php me yNet/releases/fnction"​disdra">yN">nction"​disdra">yN id.php me id.php me id.php me id.php me id.php me id.php me id.php me id.php me Smminctionleases/fnction"​ss="​aup'>Smminflnction"​ss="​aup'>Smmin id.php me ctionleases/fnction"​ss="​ flnction"​ss="​ id.php me -ual/ctionleases/fnction"​ss="​< id.php me id.php me
    /;ction"​ss="​db"​ea">
    id.php me id.php me id.php me coto se id.php me nction"​refname​rn id.php me nction"​rs"​refon.cu id.php me nction"​lob"​crtie id.php me nction"​lob"​ex/bug id.php me id.php me id.php me nction"​lob"​sizf id.php me nction"​lob2"​binn id.php me nction"​lob2"​crtie id.php me nction"​lob2"​ex/bug id.php me nction"​lob2"​im/bug id.php me nction"​lob2"​new id.php me id.php me id.php me id.php me id.php me id.php me id.php me id.php me id.php me id.php me id.php me id.php me id.php me id.php me id.php me yN-ms.p-urlctionleases/fnction"​pcoa">yN"​ms.p"​nction"​pcoa">yN"​ms.p"​ id.php me yNctionleases/fnction"​pcoa">yNn>nction"​pcoa">yN id.php me nction"​ercra"fert-id.php"/divvvvvvvvvvvvvvvl/t Involvedvvvvvvvvvvvvvvvvvvvvid.php me id.php me id.php me g gback /;ction"​>g gback id.php me id.php me id.php me id.php me id.php me id.php me id.php me
    /;ction"​ss="​db"​ea">
    id.php me id.php me id.php me vvvvvvvvvvvvvvvvid.php me
    > ont>Refr foodl>ction id="lay/li> rfs-fluid="lay/li> "/copyrg" wpt_BR/ropyrg" w © 2001-2017stroMy "/ ont>cwpt_BR/ront>cwcedil;&otme="change "/siecuritylp-tranMial/e siecucedil;&otme="change "/privacanuale>Privaca policycedil;&otme="chasvvI E foodl>>< toTr n/li> "javaodsyno:;ass="metix">toTr Hovl> /
    braekq>