note 1947 modified in function.sybase-fetch-field by didou
| From: | didou@php.net | Date: | Tue, 08 Jul 2003 10:13:27 +0000 |
| Subject: | note 1947 modified in function.sybase-fetch-field by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-51686@lists.php.net to get a copy of this message | ||
The 'type' field contains (roughly) the datatype of the source column. Types returned
are:
'type' Sybase Type
------- --------------------------
string CHAR, VARCHAR, TEXT
image IMAGE
blob BINARY, VARBINARY
bit BIT
int TINYINT, SMALLINT, INT
real REAL, FLOAT, NUMERIC, DECIMAL
money MONEY
datetime DATETIME, SMALLDATETIME
--was--
There is one field missing from the description above that seems to be in there (at least as of
php-3.0.12).
The 'type' field contains (roughly) the datatype of the source column. Types returned
are:
<PRE>
'type' Sybase Type
------- --------------------------
string CHAR, VARCHAR, TEXT
image IMAGE
blob BINARY, VARBINARY
bit BIT
int TINYINT, SMALLINT, INT
real REAL, FLOAT, NUMERIC, DECIMAL
money MONEY
datetime DATETIME, SMALLDATETIME
</PRE>
http://www.php.net/manual/en/function.sybase-fetch-field.php