« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 46 for sqlsrv (0.001 sec.)
定義済み定数 | PHP 8.3 10069
定義済み定数 以下の定数が定義されています。 この関数の拡張モジュールが PHP 組み込みでコンパイルされているか、 実行時に動的にロードされている場合のみ使用可能です。 SQLSRV_FETCH_ASSOC ( int ) Forces sqlsrv_fetch_array() to return an associati ... ve array when passed as a parameter. SQLSRV_FETCH_NUMERIC ( int ) Forces sqlsrv_fetch_array() to return an array with numeric when passed as a parameter. SQLSRV_FETCH ... _BOTH ( int ) Forces sqlsrv_fetch_array() to return an array with both associative and numeric keys when passed as a parameter (the default behavior). ... SQLSRV_ERR_ALL ( int ) Forces sqlsrv_errors() to return both errors and warnings when passed as a parameter (the default behavior ...
https://man.mtool.work/php/8.3/sqlsrv.constants.html
SQLSRV 関数 | PHP 8.3 9702
SQLSRV 関数 目次 sqlsrv_begin_transaction — Begins a database transaction sqlsrv_cancel — Cancels a statement sqlsrv_client_info — Returns information about the client and specified connection sqlsrv_close — Closes an open connection and re ... leases resources associated with the connection sqlsrv_commit — Commits a transaction that was begun with sqlsrv_begin_transaction sqlsrv_configure — Changes the driver error ha ... ndling and logging configurations sqlsrv_connect — Opens a connection to a Microsoft SQL Server database sqlsrv_errors — Returns error and warning information abou ... t the last SQLSRV operation performed sqlsrv_execute — Executes a statement prepared with sqlsrv_prepare sqlsrv_fetch — Makes the next row i ...
https://man.mtool.work/php/8.3/ref.sqlsrv.html
PHP 用 Microsoft SQL Server ドライバ | PHP 8.3 9367
PHP 用 Microsoft SQL Server ドライバ はじめに SQLSRV 拡張モジュールを使えば、PHP を実行する際に Microsoft SQL Server や SQL Azure データベースにアクセスできるようになります。 リリース 3.0 のドライバがサポートするのは SQL Server 2005 以降のバ ... ついての詳細な情報は » PHP Driver for SQL Server Support for LocalDB や » SQL Server 2012 Express LocalDB を参照ください)。 SQLSRV 拡張モジュールは Microsoft がサポートしており、 » https://msdn.microsoft.com/en-us/sqlserver/ff657782.aspx からダウンロード ... wlink/?LinkID=237665 からダウンロードできます。 インストール/設定 要件 インストール手順 実行時設定 リソース型 定義済み定数 SQLSRV 関数 sqlsrv_begin_transaction — Begins a database transaction sqlsrv_cancel — Cancels a statement sqlsrv_client_info — Ret ... urns information about the client and specified connection sqlsrv_close — Closes an open connection and releases resources associated with the connection sqlsrv_commit — Commits a transact ...
https://man.mtool.work/php/8.3/book.sqlsrv.html
sqlsrv_fetch — Makes the next row in a result set available for reading | PHP 8... 9107
sqlsrv_fetch (No version information available, might only be in Git) sqlsrv_fetch — Makes the next row in a result set available for reading 説明 function sqlsrv_fetch ( resource $stmt , int $row = ? , int $offset = ? ): mixed Makes the ne ... xt row in a result set available for reading. Use sqlsrv_get_field() to read the fields of the row. パラメータ stmt A statement resource created by executing sqlsrv_query() or sql ... ied statement was prepared with a scrollable cursor. In that case, this parameter can take on one of the following values: SQLSRV_SCROLL_NEXT SQLSRV_SCROLL_PRIOR SQLSRV_SCROLL_FIRST SQLSRV_SCROLL_LAST SQLSRV_SCROLL_ABSOLUTE SQLSRV_SCROLL_RELATIVE offse ... t Specifies the row to be accessed if the row parameter is set to SQLSRV_SCROLL_ABSOLUTE or SQLSRV_SCROLL_RELATIVE . Note that the first row in a result set has index 0. 戻り値 Returns true if th ...
https://man.mtool.work/php/8.3/function.sqlsrv-fetch.html
sqlsrv_fetch_array — 行を配列として返す | PHP 8.3 9046
sqlsrv_fetch_array (No version information available, might only be in Git) sqlsrv_fetch_array — 行を配列として返す 説明 function sqlsrv_fetch_array ( resource $stmt , int $fetchType = ? , int $row = ? , int $offset = ? ): array クエリ結果か ... ら列データを順に返します。列データの型は連想配列、配列、またはその両方(デフォルト)を選択できます。 パラメータ stmt sqlsrv_query あるいは sqlsrv_prepare が返すステートメントリソース。 fetchType 戻り値の型を指定します。連想配列 SQLSRV_FETCH_ASSOC ... , 配列 SQLSRV_FETCH_NUMERIC , and 連想配列と配列の両方 SQLSRV_FETCH_BOTH (デフォルト) のうち1つを指定します。 SQLSRV_FETCH_ASSOC(連想配列 ... 想配列のキーが重複するため)。 row スクロール可能なカーソルを用いた結果セットから、取得する列を指定します。 定義済み定数は、 SQLSRV_SCROLL_NEXT (次の列), SQLSRV_SCROLL_PRIOR (前の列), SQLSRV_SCROLL_FIRST (最初の列), SQLSRV_SCROLL_LAST (最後の列), SQLSRV_ ...
https://man.mtool.work/php/8.3/function.sqlsrv-fetch-array.html
sqlsrv_query — Prepares and executes a query | PHP 8.3 9001
sqlsrv_query (No version information available, might only be in Git) sqlsrv_query — Prepares and executes a query 説明 function sqlsrv_query ( resource $conn , string $sql , array $params = ? , array $options = ? ): mixed Prepares and exec ... utes a query. パラメータ 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 inform ... ription $value A literal value, a PHP variable, or a PHP by-reference variable. $direction (optional) One of the following SQLSRV constants used to indicate the parameter direction: SQLSRV_PARAM_IN, SQLSRV_PARAM_OUT, SQLSRV_PARAM_INOUT. The default val ... ue is SQLSRV_PARAM_IN. $phpType (optional) A SQLSRV_PHPTYPE_* constant that specifies PHP data type of the returned value. $sqlType (op ...
https://man.mtool.work/php/8.3/function.sqlsrv-query.html
sqlsrv_prepare — Prepares a query for execution | PHP 8.3 8924
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 ... ry that will be executed multiple times with different parameter 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 inform ... ription $value A literal value, a PHP variable, or a PHP by-reference variable. $direction (optional) One of the following SQLSRV constants used to indicate the parameter direction: SQLSRV_PARAM_IN, SQLSRV_PARAM_OUT, SQLSRV_PARAM_INOUT. The default val ... ue is SQLSRV_PARAM_IN. $phpType (optional) A SQLSRV_PHPTYPE_* constant that specifies PHP data type of the returned value. $sqlType (op ...
https://man.mtool.work/php/8.3/function.sqlsrv-prepare.html
sqlsrv_begin_transaction — Begins a database transaction | PHP 8.3 8894
sqlsrv_begin_transaction (No version information available, might only be in Git) sqlsrv_begin_transaction — Begins a database transaction 説明 function sqlsrv_begin_transaction ( resource $conn ): bool The transaction begun by sqlsrv_begin ... _transaction() includes all statements that were executed after the call to sqlsrv_begin_transaction() and before calls to sqlsrv_rollback() or sqlsrv_commit() . Explicit transactions should be started and ... se functions instead of executing SQL statements that begin and commit/roll back transactions. For more information, see » SQLSRV Transactions . パラメータ conn The connection resource returned by a call to sqlsrv_connect() . 戻り値 成功した場合に true ... を、失敗した場合に false を返します。 例 例1 sqlsrv_begin_transaction() example The following example demonstrates how to use sqlsrv_begin_transaction() together with sqlsrv_ ...
https://man.mtool.work/php/8.3/function.sqlsrv-begin-transaction.html
sqlsrv_cancel — Cancels a statement | PHP 8.3 8787
sqlsrv_cancel (No version information available, might only be in Git) sqlsrv_cancel — Cancels a statement 説明 function sqlsrv_cancel ( resource $stmt ): bool Cancels a statement. Any results associated with the statement that have not bee ... n consumed are deleted. After sqlsrv_cancel() has been called, the specified statement can be re-executed if it was created with sqlsrv_prepare() . Calling sql ... メータ stmt The statement resource to be cancelled. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 sqlsrv_cancel() example <?php $serverName = "serverName\sqlexpress" ; $connectionInfo = array( "Database" => "dbName" , "UID" => ... "username" , "PWD" => "password" ); $conn = sqlsrv_connect ( $serverName , $connectionInfo ); if( $conn === false ) { die( print_r ( sqlsrv_errors (), true )); } $sql = "SEL ...
https://man.mtool.work/php/8.3/function.sqlsrv-cancel.html
sqlsrv_commit — Commits a transaction that was begun with sqlsrv_begin_transact... 8787
sqlsrv_commit (No version information available, might only be in Git) sqlsrv_commit — Commits a transaction that was begun with sqlsrv_begin_transaction() 説明 function sqlsrv_commit ( resource $conn ): bool Commits a transaction that was ... begun with sqlsrv_begin_transaction() . The connection is returned to auto-commit mode after sqlsrv_commit() is called. The transaction that ... is committed includes all statements that were executed after the call to sqlsrv_begin_transaction() . Explicit transactions should be started and committed or rolled back using these functions instead o ... f executing SQL statements that begin and commit/roll back transactions. For more information, see » SQLSRV Transactions . パラメータ conn The connection on which the transaction is to be committed. 戻り値 成功した場合に true を、 ...
https://man.mtool.work/php/8.3/function.sqlsrv-commit.html
PREV 1 2 3 4 5 NEXT