Results of 1 - 10 of about 31 for Servername (0.004 sec.)
- sqlsrv_connect — Opens a connection to a Microsoft SQL Server database | PHP 8.... 15675
- sqlsrv_connect (No version information available, might only be in Git) sqlsrv_connect — Opens a connection to a Microsoft SQL Server database 説明 function sqlsrv_connect ( string $serverName , array $connectionInfo = ? ): resource Opens a
... ntication. To connect using SQL Server Authentication, include "UID" and "PWD" in the connection options array. パラメータ serverName The name of the server to which a connection is established. To connect to a specific instance, follow the server name wit ... h a backward slash and the instance name (e.g. serverName\sqlexpress). connectionInfo An associative array that specifies options for connecting to the server. If values for the UI ... rce. If a connection cannot be successfully opened, false is returned. 例 例1 Connect using Windows Authentication. <?php $serverName = "serverName\\sqlexpress" ; //serverName\instanceName // Since UID and PWD are not specified in the $connectionInfo array ...
-
https://man.mtool.work/php/8.3/function.sqlsrv-connect.html
- sqlsrv_fetch_array — 行を配列として返す | PHP 8.3 9124
- 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 クエリ結果か
... 返します。 返す列がない場合は null を返します。エラーが起きた場合は false を返します。 例 例1 連想配列を扱う場合の例 <?php $serverName = "serverName\instanceName" ; $connectionInfo = array( "Database" => "dbName" , "UID" => "username" , "PWD" => "password" ... ); $conn = sqlsrv_connect ( $serverName , $connectionInfo ); if( $conn === false ) { die( print_r ( sqlsrv_errors (), true )); } $sql = "SELECT FirstName, LastNam ... row [ 'LastName' ]. ", " . $row [ 'FirstName' ]. "<br />" ; } sqlsrv_free_stmt ( $stmt ); ?> 例2 配列を扱う場合の例 <?php $serverName = "serverName\instanceName" ; $connectionInfo = array( "Database" => "dbName" , "UID" => "username" , "PWD" => "password" ...
-
https://man.mtool.work/php/8.3/function.sqlsrv-fetch-array.html
- sqlsrv_close — Closes an open connection and releases resources associated with... 8881
- sqlsrv_close (No version information available, might only be in Git) sqlsrv_close — Closes an open connection and releases resources associated with the connection 説明 function sqlsrv_close ( resource $conn ): bool Closes an open connecti
... ection to be closed. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 sqlsrv_close() example <?php $serverName = "serverName\sqlexpres" ; $connOptions = array( "UID" => "username" , "PWD" => "password" , "Database" => "dbname" ); $co ... nn = sqlsrv_connect ( $serverName , $connOptions ); if( $conn === false ) { die( print_r ( sqlsrv_errors (), true )); } //---------------------------------- ...
-
https://man.mtool.work/php/8.3/function.sqlsrv-close.html
- sqlsrv_server_info — Returns information about the server | PHP 8.3 8816
- sqlsrv_server_info (No version information available, might only be in Git) sqlsrv_server_info — Returns information about the server 説明 function sqlsrv_server_info ( resource $conn ): array Returns information about the server. パラメータ
... the following table: Returned Array CurrentDatabase The connected-to database. SQLServerVersion The SQL Server version. SQLServerName The name of the server. 例 例1 sqlsrv_server_info() example <?php $serverName = "serverName\sqlexpress" ; $conn = sqlsrv_c ... onnect ( $serverName ); if( $conn === false ) { die( print_r ( sqlsrv_errors (), true )); } $server_info = sqlsrv_server_info ( $conn ); if( $s ...
-
https://man.mtool.work/php/8.3/function.sqlsrv-server-info.html
- sqlsrv_client_info — Returns information about the client and specified connect... 8654
- sqlsrv_client_info (No version information available, might only be in Git) sqlsrv_client_info — Returns information about the client and specified connection 説明 function sqlsrv_client_info ( resource $conn ): array Returns information ab
... e Client DLL version (10.5.xxx) ExtensionVer php_sqlsrv.dll version (2.0.xxx.x) 例 例1 sqlsrv_client_info() example <?php $serverName = "serverName\sqlexpress" ; $connOptions = array( "UID" => "username" , "PWD" => "password" ); $conn = sqlsrv_connect ( $s ...
-
https://man.mtool.work/php/8.3/function.sqlsrv-client-info.html
- sqlsrv_num_fields — Retrieves the number of fields (columns) on a statement | P... 8428
- sqlsrv_num_fields (No version information available, might only be in Git) sqlsrv_num_fields — Retrieves the number of fields (columns) on a statement 説明 function sqlsrv_num_fields ( resource $stmt ): mixed Retrieves the number of fields
... cution. 戻り値 Returns the number of fields on success. Returns false otherwise. 例 例1 sqlsrv_num_fields() 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 = "SELECT * FROM Table_1" ; ...
-
https://man.mtool.work/php/8.3/function.sqlsrv-num-fields.html
- sqlsrv_free_stmt — Frees all resources for the specified statement | PHP 8.3 8347
- sqlsrv_free_stmt (No version information available, might only be in Git) sqlsrv_free_stmt — Frees all resources for the specified statement 説明 function sqlsrv_free_stmt ( resource $stmt ): bool Frees all resources for the specified state
... mes in a script. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 sqlsrv_free_stmt() 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 )); } $stmt = sqlsrv_query ( $conn , "S ...
-
https://man.mtool.work/php/8.3/function.sqlsrv-free-stmt.html
- sqlsrv_rows_affected — Returns the number of rows modified by the last INSERT, ... 8347
- sqlsrv_rows_affected (No version information available, might only be in Git) sqlsrv_rows_affected — Returns the number of rows modified by the last INSERT, UPDATE, or DELETE query executed 説明 function sqlsrv_rows_affected ( resource $stm
... annot be determined, -1 is returned. If an error occurred, false is returned. 例 例1 sqlsrv_rows_affected() 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 = "UPDATE Table_1 SET data = ...
-
https://man.mtool.work/php/8.3/function.sqlsrv-rows-affected.html
- sqlsrv_send_stream_data — Sends data from parameter streams to the server | PHP... 8347
- sqlsrv_send_stream_data (No version information available, might only be in Git) sqlsrv_send_stream_data — Sends data from parameter streams to the server 説明 function sqlsrv_send_stream_data ( resource $stmt ): bool Send data from paramet
... 戻り値 Returns true if there is more data to send and false if there is not. 例 例1 sqlsrv_send_stream_data() 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 = "UPDATE Table_1 SET data = ...
-
https://man.mtool.work/php/8.3/function.sqlsrv-send-stream-data.html
- sqlsrv_field_metadata — Retrieves metadata for the fields of a statement prepar... 8282
- sqlsrv_field_metadata (No version information available, might only be in Git) sqlsrv_field_metadata — Retrieves metadata for the fields of a statement prepared by sqlsrv_prepare() or sqlsrv_query() 説明 function sqlsrv_field_metadata ( res
... ormation, see » sqlsrv_field_metadata in the Microsoft SQLSRV documentation. 例 例1 sqlsrv_field_metadata() example <?php $serverName = "serverName\sqlexpress" ; $connectionInfo = array( "Database" => "AdventureWorks" , "UID" => "username" , "PWD" => "pass ... word" ); $conn = sqlsrv_connect ( $serverName , $connectionInfo ); if( $conn === false ) { die( print_r ( sqlsrv_errors (), true )); } $sql = "SELECT * FROM Table_1" ; ...
-
https://man.mtool.work/php/8.3/function.sqlsrv-field-metadata.html