ifx_fieldpropertiesとは? わかりやすく解説

Weblio 辞書 > コンピュータ > PHP関数リファレンス > ifx_fieldpropertiesの意味・解説 

ifx_fieldproperties

(No version information available, might be only in CVS)
ifx_fieldproperties — SQL フィールドプロパティのリスト

説明

array ifx_fieldproperties ( resource result_id )
クエリ中の全てのフィールドの Informix SQL フィールドプロパティを 連想配列として返します。プロパティは、以下のような形式となります。 "SQLTYPE;length;precision;scale;ISNULLABLE" ただし、SQLTYPE は、 "SQLVCHAR" 等の Informix 型。ISNULLABLE は、"Y" または "N" となります。

パラメータ

result_id
result_id は、 ifx_query() または ifx_prepare() (select 型のクエリのみ!) により返された有効な結果 ID です。

返り値

result_id のクエリについて、フィールド名を キーとし、SQL フィールドプロパティをデータとした連想配列を返します。 エラーの場合に FALSE を返します。

例 978. Informix SQL フィールドプロパティ
<?php
$properties = ifx_fieldproperties($resultid);
if (!isset($properties)) {
   /* ... エラー ... */
}
foreach ($properties as $fname => $val) {
   echo "$fname:\t property = $val\n";
}
?>


参考

ifx_fieldtypes()



このページでは「PHP関数リファレンス」からifx_fieldpropertiesを検索した結果を表示しています。
Weblioに収録されているすべての辞書からifx_fieldpropertiesを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からifx_fieldproperties を検索

英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「ifx_fieldproperties」の関連用語

ifx_fieldpropertiesのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ifx_fieldpropertiesのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
PHP Documentation GroupPHP Documentation Group
Copyright © 1997 - 2025 by the PHP Documentation Group.

©2025 GRAS Group, Inc.RSS