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 — Tipo de datos de un campo
Descripción
string odbc_field_type
( resource
$result_id
, int $field_number
)Obtiene el tipo SQL de un campo referenciado mediante número en el identificador de resultado dado.
Parámetros
-
result_id -
El identificador de resultado.
-
field_number -
El número de campo. La numeración de campos comienza en 1.
Valores devueltos
Devuelve el tipo de campo como cadena, o FALSE si se produjo un error.
jschwartz at the-infoshop dot com
04-Aug-2009 01:40
jorge dot emailNOSPAM at gmail dot com
17-Jan-2007 04:21
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
not[at]wgpower[dot]net
19-May-2006 05:02
Some fields can be of the following type too : REAL
jazper at lycos dot de
10-Jul-2002 03:30
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.
