downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

odbc_foreignkeys> <odbc_field_scale
[edit] Last updated: Fri, 17 May 2013

view this page in

odbc_field_type

(PHP 4, PHP 5)

odbc_field_typeLiefert den Datentyp eines Feldes

Beschreibung

string odbc_field_type ( int $result_id , int $field_number )

odbc_field_type() liefert den SQL-Datentyp eines Feldes zurück, das in dem Abfrageergebnis result_id an der Stelle field_number zu finden ist.



odbc_foreignkeys> <odbc_field_scale
[edit] Last updated: Fri, 17 May 2013
 
add a note add a note User Contributed Notes odbc_field_type - [4 notes]
up
0
jschwartz at the-infoshop dot com
3 years ago
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.
up
0
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
up
0
not[at]wgpower[dot]net
7 years ago
Some fields can be of the following type too : REAL
up
0
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.

 
show source | credits | sitemap | contact | advertising | mirror sites