Quick note: as noted below, MS Access type AutoNumber comes across as type COUNTER. What I didn't see mentioned is that PHP interprets type COUNTER as a string, not an integer.
More annoying than anything else, in my particular case; but I'd guess it could bite somebody, somewhere.
odbc_field_type
(PHP 4, PHP 5)
odbc_field_type — Bir alanın veri türünü döndürür
Açıklama
string odbc_field_type
( resource
$sonuç_kimliği
, int $alannum
)Sonuç içindeki, numarası belirtilen sütunun SQL türünü döndürür.
Değiştirgeler
-
sonuç_kimliği -
odbc_exec() ile döndürülmüş bir sonuç tanıtıcısı.
-
alannum -
Alan (sütun) numarası. Sütun numaraları 1'den başlar.
Dönen Değerler
Hata durumunda FALSE, yoksa alan türünü bir dizge olarak döndürür.
jschwartz at the-infoshop dot com ¶
3 years ago
jorge dot emailNOSPAM at gmail dot com ¶
6 years ago
Here is the complete list!
Access 2003 as the following teturntypes:
COUNTER - Autoincrement
VARCHAR - Text
LONGCHAR - Memo
INTEGER - Number
DATETIME - Date/Time
CURRENCY - Currency
BIT - TRUE/FALSE
LONGBINARY - OLE-Object
LONGCHAR - Hyperlink
DOUBLE - Double Number
BYTE - Byte Number
jazper at lycos dot de ¶
10 years ago
Returntypes on Access2000
COUNTER - Autoincrement
VARCHAR - Text
LONGCHAR - Memo
INTEGER - Number
DATETIME - Date/Time
CURRENCY - Currency
BIT - TRUE/FALSE
LONGBINARY - OLE-Object
LONGCHAR - Hyperlink
cheers, j.a.z.
