« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 48 for clob (0.004 sec.)
cubrid_lob_get — Get BLOB/CLOB data | PHP 8.3 11162
cubrid_lob_get (PECL CUBRID >= 8.3.1) cubrid_lob_get — Get BLOB/CLOB data 説明 function cubrid_lob_get ( resource $conn_identifier , string $sql ): array cubrid_lob_get() is used to get BLOB/CLOB meta info from CUBRID database, CUBRID gets ... BLOB/CLOB by executing the SQL statement, and returns all LOBs as a resource array. Be sure that the SQL retrieves only one column a ... nd its data type is BLOB or CLOB. Remember to use cubrid_lob_close() to release the LOBs if you don't need it any more. パラメータ conn_identifier Connecti ... ); cubrid_execute ( $conn , "DROP TABLE if exists doc" ); cubrid_execute ( $conn , "CREATE TABLE doc (id INT, doc_content CLOB)" ); cubrid_execute ( $conn , "INSERT INTO doc VALUES (5,'hello,cubrid')" ); $lobs = cubrid_lob_get ( $conn , "SELECT doc_ ...
https://man.mtool.work/php/8.3/function.cubrid-lob-get.html
cubrid_lob_send — Read BLOB/CLOB data and send straight to browser | PHP 8.3 10875
cubrid_lob_send (PECL CUBRID >= 8.3.1) cubrid_lob_send — Read BLOB/CLOB data and send straight to browser 説明 function cubrid_lob_send ( resource $conn_identifier , resource $lob_identifier ): bool cubrid_lob_send() reads BLOB/CLOB data an ... d passes it straight through to the browser. To use this function, you must use cubrid_lob_get() first to get BLOB/CLOB info from CUBRID. パラメータ conn_identifier Connection identifier. lob_identifier LOB identifier. 戻り値 成功した場合に t ... ); cubrid_execute ( $conn , "DROP TABLE if exists doc" ); cubrid_execute ( $conn , "CREATE TABLE doc (id INT, doc_content CLOB)" ); cubrid_execute ( $conn , "INSERT INTO doc VALUES (5,'hello,cubrid')" ); $lobs = cubrid_lob_get ( $conn , "SELECT doc_ ... _send ( $conn , $lobs [ 0 ]); cubrid_lob_close ( $lobs ); cubrid_disconnect ( $conn ); ?> 参考 cubrid_lob_get() - Get BLOB/CLOB data cubrid_lob_close() - Close BLOB/CLOB data cubrid_lob_size() - Get BLOB/CLOB data size cubrid_lob_export() - Export BL ...
https://man.mtool.work/php/8.3/function.cubrid-lob-send.html
db2_lob_read — LOB ファイルから、ユーザーが定義したサイズの内容を取得する | PHP... 10708
db2_lob_read (PECL ibm_db2 >= 1.6.0) db2_lob_read — LOB ファイルから、ユーザーが定義したサイズの内容を取得する 説明 function db2_lob_read ( resource $stmt , int $colnum , int $length ): string | false db2_lob_read() により、 結果セットの指定 ... ibmdb2' ; /* 接続リソースの取得 */ $conn = db2_connect ( $db , $username , $password ); if ( $conn ) { $drop = 'DROP TABLE clob_stream' ; $result = @ db2_exec ( $conn , $drop ); $create = 'CREATE TABLE clob_stream (id INTEGER, my_clob CLOB)' ; $resul ... t = db2_exec ( $conn , $create ); $variable = "" ; $stmt = db2_prepare ( $conn , "INSERT INTO clob_stream (id,my_clob) VALUES (1, ?)" ); $variable = "THIS IS A CLOB TEST. THIS IS A CLOB TEST." ; db2_bind_param ( $stmt , 1 ... , "variable" , DB2_PARAM_IN ); db2_execute ( $stmt ); $sql = "SELECT id,my_clob FROM clob_stream" ; $result = db2_prepare ( $conn , $sql ); db2_execute ( $result ); db2_fetch_row ( $result ); $i = 0 ; / ...
https://man.mtool.work/php/8.3/function.db2-lob-read.html
cubrid_lob_export — Export BLOB/CLOB data to file | PHP 8.3 10648
cubrid_lob_export (PECL CUBRID >= 8.3.1) cubrid_lob_export — Export BLOB/CLOB data to file 説明 function cubrid_lob_export ( resource $conn_identifier , resource $lob_identifier , string $path_name ): bool cubrid_lob_export() is used to get ... BLOB/CLOB data from CUBRID database, and saves its contents to a file. To use this function, you must use cubrid_lob_get() first to ... get BLOB/CLOB info from CUBRID. パラメータ conn_identifier Connection identifier. lob_identifier LOB identifier. path_name Path name of ... ); cubrid_execute ( $conn , "DROP TABLE if exists doc" ); cubrid_execute ( $conn , "CREATE TABLE doc (id INT, doc_content CLOB)" ); cubrid_execute ( $conn , "INSERT INTO doc VALUES (5,'hello,cubrid')" ); $lobs = cubrid_lob_get ( $conn , "SELECT doc_ ...
https://man.mtool.work/php/8.3/function.cubrid-lob-export.html
cubrid_lob_close — Close BLOB/CLOB data | PHP 8.3 10178
cubrid_lob_close (PECL CUBRID >= 8.3.1) cubrid_lob_close — Close BLOB/CLOB data 説明 function cubrid_lob_close ( array $lob_identifier_array ): bool cubrid_lob_close() is used to close all BLOB/CLOB returned from cubrid_lob_get() . パラメー ... ); cubrid_execute ( $conn , "DROP TABLE if exists doc" ); cubrid_execute ( $conn , "CREATE TABLE doc (id INT, doc_content CLOB)" ); cubrid_execute ( $conn , "INSERT INTO doc VALUES (5,'hello,cubrid')" ); $lobs = cubrid_lob_get ( $conn , "SELECT doc_ ... , $lobs [ 0 ], "doc_5.txt" ); cubrid_lob_close ( $lobs ); cubrid_disconnect ( $conn ); ?> 参考 cubrid_lob_get() - Get BLOB/CLOB data cubrid_lob_size() - Get BLOB/CLOB data size cubrid_lob_export() - Export BLOB/CLOB data to file cubrid_lob_send() - R ... ead BLOB/CLOB data and send straight to browser 他のマニュアルの関連ページ DuckDB CSV Export DuckDB JSON Export DuckDB Run Queries DuckD ...
https://man.mtool.work/php/8.3/function.cubrid-lob-close.html
cubrid_lob_size — Get BLOB/CLOB data size | PHP 8.3 9845
cubrid_lob_size (PECL CUBRID >= 8.3.1) cubrid_lob_size — Get BLOB/CLOB data size 説明 function cubrid_lob_size ( resource $lob_identifier ): string cubrid_lob_size() is used to get BLOB/CLOB data size. パラメータ lob_identifier LOB identifi ... ); cubrid_lob_export ( $conn , $lobs [ 0 ], "doc_5.txt" ); cubrid_lob_close ( $lobs ); ?> 参考 cubrid_lob_get() - Get BLOB/CLOB data cubrid_lob_close() - Close BLOB/CLOB data cubrid_lob_export() - Export BLOB/CLOB data to file cubrid_lob_send() - Rea ... d BLOB/CLOB data and send straight to browser 他のマニュアルの関連ページ DuckDB CSV Export DuckDB JSON Export DuckDB Parquet Export Li ...
https://man.mtool.work/php/8.3/function.cubrid-lob-size.html
cubrid_bind — Bind variables to a prepared statement as parameters | PHP 8.3 9269
cubrid_bind (PECL CUBRID >= 8.3.0) cubrid_bind — Bind variables to a prepared statement as parameters 説明 function cubrid_bind ( resource $req_identifier , int $bind_index , mixed $bind_value , string $bind_value_type = ? ): bool The cubri ... id_prepare() . If bind_value_type is not given, string will be the default. 注意 : If the type of data to be bound is BLOB/CLOB, CUBRID will try to map the data as a PHP stream. If the actually bind value type is not stream, CUBRID will convert it to ... ER SHORT, INT, NUMERIC FLOAT FLOAT DOUBLE DOUBLE TIME TIME DATE DATE TIMESTAMP TIMESTAMP OBJECT OBJECT ENUM ENUM BLOB BLOB CLOB CLOB NULL NULL Not supported SET SET MULTISET MULTISET SEQUENCE SEQUENCE パラメータ req_identifier Request identifier as a ... ring by default. However, you need to specify the exact type of the value as an argument when they are NCHAR, BIT, or BLOB/CLOB). 戻り値 成功した場合に true を、失敗した場合に false を返します。 変更履歴 バージョン 説明 8.3.1 Added BLOB/CLOB data typ ...
https://man.mtool.work/php/8.3/function.cubrid-bind.html
cubrid_lob2_import — Import BLOB/CLOB data from a file | PHP 8.3 9148
cubrid_lob2_import (PECL CUBRID >= 8.4.1) cubrid_lob2_import — Import BLOB/CLOB data from a file 説明 function cubrid_lob2_import ( resource $lob_identifier , string $file_name ): bool The cubrid_lob2_import() function is used to save the c ... ontents of BLOB/CLOB data from a file. To use this function, you must use cubrid_lob2_new() or fetch a lob object from CUBRID database first. I ... ier Lob identifier as a result of cubrid_lob2_new() or get from the result set. filename File name you want to import BLOB/CLOB data. It also supports the path of the file. 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 cubri ... rid_execute ( $conn , "DROP TABLE if exists test_lob" ); cubrid_execute ( $conn , "CREATE TABLE test_lob (id INT, contents CLOB)" ); $req = cubrid_prepare ( $conn , "INSERT INTO test_lob VALUES (?, ?)" ); cubrid_bind ( $req , 1 , 1 ); $lob = cubrid_l ...
https://man.mtool.work/php/8.3/function.cubrid-lob2-import.html
cubrid_lob2_write — Write to a lob object | PHP 8.3 9087
cubrid_lob2_write (PECL CUBRID >= 8.4.1) cubrid_lob2_write — Write to a lob object 説明 function cubrid_lob2_write ( resource $lob_identifier , string $buf ): bool The cubrid_lob2_write() function reads as much as data from buf and stores i ... た場合に true を、失敗した場合に false を返します。 例 例1 cubrid_lob2_write() example 1 <?php // test_lob (id INT, contents CLOB) $conn = cubrid_connect ( "localhost" , 33000 , "demodb" , "dba" , "" ); cubrid_execute ( $conn , "DROP TABLE if exists te ... st_lob" ); cubrid_execute ( $conn , "CREATE TABLE test_lob (id INT, contents CLOB)" ); $req = cubrid_prepare ( $conn , "INSERT INTO test_lob VALUES(2, ?)" ); $lob = cubrid_lob2_new ( $conn , 'CLOB' ); $le ... id_execute ( $req ); cubrid_disconnect ( $conn ); ?> 例2 cubrid_lob2_write() example 2 <?php // test_lob (id INT, contents CLOB) $conn = cubrid_connect ( "localhost" , 33000 , "demodb" , "dba" , "" ); cubrid_execute ( $conn , "DROP TABLE if exists te ...
https://man.mtool.work/php/8.3/function.cubrid-lob2-write.html
cubrid_lob2_bind — Bind a lob object or a string as a lob object to a prepared ... 9027
cubrid_lob2_bind (PECL CUBRID >= 8.4.1) cubrid_lob2_bind — Bind a lob object or a string as a lob object to a prepared statement as parameters 説明 function cubrid_lob2_bind ( resource $req_identifier , int $bind_index , mixed $bind_value , ... string $bind_value_type = ? ): bool The cubrid_lob2_bind() function is used to bind BLOB/CLOB datas to a corresponding question mark placeholder in the SQL statement that was passed to cubrid_prepare() . If bind_valu ... cation of binding parameters. It starts with 1. bind_value Actual value for binding. bind_value_type It must be "BLOB" or "CLOB" and it won't be case-sensitive. If it not be given, the default value is "BLOB". 戻り値 成功した場合に true を、失敗した場 ... 合に false を返します。 例 例1 cubrid_lob2_bind() example <?php // Table: test_lob (id INT, contents CLOB) $conn = cubrid_connect ( "localhost" , 33000 , "demodb" , "dba" , "" ); cubrid_execute ( $conn , "DROP TABLE if exists te ...
https://man.mtool.work/php/8.3/function.cubrid-lob2-bind.html
PREV 1 2 3 4 5 NEXT