« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 207 for prepare (0.002 sec.)
ibase_prepare — Prepare a query for later binding of parameter placeholders and... 10700
ibase_prepare (PHP 5, PHP 7 < 7.4.0) ibase_prepare — Prepare a query for later binding of parameter placeholders and execution 説明 function ibase_prepare ( string $query ): resource function ibase_prepare ( resource $link_identifier , stri ... ng $query ): resource function ibase_prepare ( resource $link_identifier , string $trans , string $query ): resource Prepare a query for later binding of parameter pla ... le the query should be associated with. If omitted, the default transaction of the connection is assumed. 戻り値 Returns a prepared query handle, or false on error. 他のマニュアルの関連ページ DuckDB Run Queries DuckDB PREPARE, EXECUTE, and DEALLOCATE St ... atements DuckDB Prepared Statements DuckDB ODBC Extension Functions DuckDB Prepared Statements DuckDB Sirius Extension ...
https://man.mtool.work/php/8.3/function.ibase-prepare.html
cubrid_prepare — Prepare a SQL statement for execution | PHP 8.3 10104
cubrid_prepare (PECL CUBRID >= 8.3.0) cubrid_prepare — Prepare a SQL statement for execution 説明 function cubrid_prepare ( resource $conn_identifier , string $prepare_stmt , int $option = 0 ): resource The cubrid_prepare() function compile ... s a SQL statement for a given connection handle and returns a handle that represents the pre-compiled statement. A prepared statement can be executed several times, which is efficient for repeated execution or for processing long data. Only a si ... ue can be bound to a parameter only by using the cubrid_bind() function. パラメータ conn_identifier Connection identifier. prepare_stmt Prepare query. option OID return option CUBRID_INCLUDE_OID . 戻り値 Request identifier, if process is successful,失敗 ... した場合に false を返します. 例 例1 cubrid_prepare() example <?php $conn = cubrid_connect ( "localhost" , 33000 , "demodb" ); $sql = <<<EOD SELECT g.event_code, e.name FROM ...
https://man.mtool.work/php/8.3/function.cubrid-prepare.html
sqlsrv_execute — Executes a statement prepared with sqlsrv_prepare() | PHP 8.3 9807
sqlsrv_execute (No version information available, might only be in Git) sqlsrv_execute — Executes a statement prepared with sqlsrv_prepare() 説明 function sqlsrv_execute ( resource $stmt ): bool Executes a statement prepared with sqlsrv_prepare ... pare() . This function is ideal for executing a prepared statement multiple times with different parameter values. パラメータ stmt A statement resource returned by sqlsrv_prepare ... 成功した場合に true を、失敗した場合に false を返します。 例 例1 sqlsrv_execute() example This example demonstrates how to prepare a statement with sqlsrv_prepare() and re-execute it multiple times (with different parameter values) using sqlsrv_execute( ... qlsrv_errors (), true )); } $sql = "UPDATE Table_1 SET OrderQty = ? WHERE SalesOrderID = ?" ; // Initialize parameters and prepare the statement. // Variables $qty and $id are bound to the statement, $stmt. $qty = 0 ; $id = 0 ; $stmt = sqlsrv_prepare ( ...
https://man.mtool.work/php/8.3/function.sqlsrv-execute.html
sqlsrv_prepare — Prepares a query for execution | PHP 8.3 9285
sqlsrv_prepare (No version information available, might only be in Git) sqlsrv_prepare — Prepares a query for execution 説明 function sqlsrv_prepare ( resource $conn , string $sql , array $params = ? , array $options = ? ): mixed Prepares a ... r values. パラメータ conn A connection resource returned by sqlsrv_connect() . sql The string that defines the query to be prepared and executed. params An array specifying parameter information when executing a parameterized query. Array elements can b ... crosoft SQLSRV documentation. 戻り値 Returns a statement resource on success and false if an error occurred. 例 例1 sqlsrv_prepare() example This example demonstrates how to prepare a statement with sqlsrv_prepare() and re-execute it multiple times (wit ... qlsrv_errors (), true )); } $sql = "UPDATE Table_1 SET OrderQty = ? WHERE SalesOrderID = ?" ; // Initialize parameters and prepare the statement. // Variables $qty and $id are bound to the statement, $stmt. $qty = 0 ; $id = 0 ; $stmt = sqlsrv_prepare ( ...
https://man.mtool.work/php/8.3/function.sqlsrv-prepare.html
cubrid_close_prepare — Close the request handle | PHP 8.3 8456
cubrid_close_prepare (PECL CUBRID >= 8.3.0) cubrid_close_prepare — Close the request handle 説明 function cubrid_close_prepare ( resource $req_identifier ): bool The cubrid_close_prepare() function closes the request handle given by the req ... cubrid_close_request() . パラメータ req_identifier Request identifier. 戻り値 Return true on success. 例 例1 cubrid_close_prepare() example <?php $con = cubrid_connect ( "localhost" , 33000 , "demodb" , "dba" , "" ); if ( $con ) { echo "connected succe ... BRID_ASYNC ); if ( $req ) { while ( list ( $id , $name ) = cubrid_fetch ( $req ) ){ echo $id ; echo $name ; } cubrid_close_prepare ( $req ); // or you can use cubrid_close_request($req) } cubrid_disconnect ( $con ); } ?> 参考 cubrid_close_request() - Cl ...
https://man.mtool.work/php/8.3/function.cubrid-close-prepare.html
fbird_prepare — のエイリアス ibase_prepare() | PHP 8.3 8105
fbird_prepare (PHP 5, PHP 7 < 7.4.0) fbird_prepare — のエイリアス ibase_prepare() 説明 この関数は次の関数のエイリアスです。 ibase_prepare() . 他のマニュアルの関連ページ DuckDB Run Queries Linux JM praliases(8) DuckDB Prepared Statements Duc ...
https://man.mtool.work/php/8.3/function.fbird-prepare.html
mysqli_stmt::prepare — SQL ステートメントを実行するために準備する | PHP 8.3 7988
mysqli_stmt::prepare mysqli_stmt_prepare (PHP 5, PHP 7, PHP 8) mysqli_stmt::prepare -- mysqli_stmt_prepare — SQL ステートメントを実行するために準備する 説明 オブジェクト指向型 public function mysqli_stmt::prepare ( string $query ): bool 手続 ... き型 function mysqli_stmt_prepare ( mysqli_stmt $statement , string $query ): bool 実行する前にSQL文を準備します。 指定するクエリは、単一のSQL文でなければい ... プリケーション変数にバインドする必要があります。 注意 : サーバーの max_allowed_packet よりも長いステートメントを mysqli_stmt_prepare() に渡した場合、 返ってくるエラーコードは MySQL Native Driver ( mysqlnd ) を使っているか MySQL Client Library ( libmysqlcl ... のモードが MYSQLI_REPORT_STRICT に設定されていた場合は、 mysqli_sql_exception が代わりにスローされます。 例 例1 mysqli_stmt::prepare() の例 オブジェクト指向型 <?php mysqli_report ( MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT ); $mysqli = new mysqli ( "loca ...
https://man.mtool.work/php/8.3/mysqli-stmt.prepare.html
mysqli::prepare — 実行するための SQL文 を準備する | PHP 8.3 7924
mysqli::prepare mysqli_prepare (PHP 5, PHP 7, PHP 8) mysqli::prepare -- mysqli_prepare — 実行するための SQL文 を準備する 説明 オブジェクト指向型 public function mysqli::prepare ( string $query ): mysqli_stmt | false 手続き型 function mysqli ... _prepare ( mysqli $mysql , string $query ): mysqli_stmt | false SQL文を準備し、後でそれを操作するために使用する ステートメントハンド ... ムのデータと比較する値などが 適切な位置の例です。 しかし、識別子 (テーブルやカラムの名前) には使用できません。 戻り値 mysqli_prepare() はステートメントオブジェクトを返します。 エラー時には false を返します。 エラー / 例外 mysqli のエラー報告 ( MYSQLI_REPO ... 報告のモードが MYSQLI_REPORT_STRICT に設定されていた場合は、 mysqli_sql_exception が代わりにスローされます。 例 例1 mysqli::prepare() の例 オブジェクト指向型 <?php mysqli_report ( MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT ); $mysqli = new mysqli ( "loca ...
https://man.mtool.work/php/8.3/mysqli.prepare.html
pg_prepare — 指定したパラメータでプリペアドステートメントを作成するリクエストを... 7573
pg_prepare (PHP 5 >= 5.1.0, PHP 7, PHP 8) pg_prepare — 指定したパラメータでプリペアドステートメントを作成するリクエストを サーバーに送信し、その完了を待つ 説明 function pg_prepare ( PgSql\Connection $connection = ? , string $statement_name ... , string $query ): PgSql\Result | false pg_prepare() は、 pg_execute() あるいは pg_send_execute() で後に実行するためのプリペアドステートメントを作成します。これにより、 繰り ... メント名を 使用した場合にはエラーとなります。パラメータを使用する際は、 query 内で $1 、 $2 のような形式で参照されます。 pg_prepare() で使用するプリペアドステートメントは、 SQLの PREPARE 文を実行することでも作成可能です (しかし、パラメータの型を事前に指 ... 定する必要がないという点で pg_prepare() のほうがより柔軟です)。 また、PHP にはプリペアドステートメントを削除する関数がありませんが、 この目的のためには SQLの D ...
https://man.mtool.work/php/8.3/function.pg-prepare.html
pg_send_prepare — 指定したパラメータでプリペアドステートメントを作成するリクエ... 7520
pg_send_prepare (PHP 5 >= 5.1.0, PHP 7, PHP 8) pg_send_prepare — 指定したパラメータでプリペアドステートメントを作成するリクエストを 送信し、その結果を待たない 説明 function pg_send_prepare ( PgSql\Connection $connection , string $statement_ ... ): int | bool 指定したパラメータでプリペアドステートメントを作成するリクエストを 送信し、その結果を待ちません。 これは pg_prepare() の非同期バージョンです。 リクエストが受け付けられた場合に true 、そうでない場合に false を返します。コールが成功した後、 ... 実際にプリペアドステートメントが 作成されたかどうかを調べるには pg_get_result() を使用します。関数のパラメータは pg_prepare() と同じように処理されます。 pg_prepare() と同様、 7.4 より前の PostgreSQL のバージョンでは正しく動作しません。 パラメータ ... クラスのインスタンスを期待するようになりました。 これより前のバージョンでは、 resource を期待していました。 例 例1 pg_send_prepare() の使用法 <?php $dbconn = pg_connect ( "dbname=publisher" ) or die( "Could not connect" ); // 実行するクエリを準備する if ...
https://man.mtool.work/php/8.3/function.pg-send-prepare.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT