Query: ifx_fieldproperties
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
IFX_FIELDPROPERTIES(3) 1 IFX_FIELDPROPERTIES(3) ifx_fieldproperties - List of SQL fieldpropertiesSYNOPSISarray ifx_fieldproperties (resource $result_id)DESCRIPTIONReturns the Informix SQL fieldproperties of every field in the query as an associative array. Properties are encoded as: "SQL- TYPE;length;precision;scale;ISNULLABLE" where SQLTYPE = the Informix type like "SQLVCHAR" etc. and ISNULLABLE = "Y" or "N".PARAMETERSo $result_id -$result_id is a valid resultid returned by ifx_query(3) or ifx_prepare(3) (select type queries only!).RETURN VALUESReturns an associative array with fieldnames as key and the SQL fieldproperties as data for a query with $result_id. Returns FALSE on errors.EXAMPLESExample #1 Informix SQL fieldproperties <?php $properties = ifx_fieldproperties($resultid); if (!isset($properties)) { /* ... error ... */ } foreach ($properties as $fname => $val) { echo "$fname: property = $val "; } ?>SEE ALSOifx_fieldtypes(3). PHP Documentation Group IFX_FIELDPROPERTIES(3)
| Related Man Pages |
|---|
| ifx_fetch_row(3) - php |
| ifx_query(3) - php |
| mssql_fetch_assoc(3) - php |
| oci_parse(3) - php |
| ovrimos_result_all(3) - php |
| Similar Topics in the Unix Linux Community |
|---|
| How to get rid of "^M" from SQL query |
| please help immediately |
| Get Database Service Names |
| I'm going crazy with SQL select. Please help! |
| Read input file and used it to SQL query |