[freetds] Re: result of PHP odbc_field_type() call

Andreas Schlögl andreas.schloegl at aon.at
Sat Jan 3 14:58:27 EST 2004


Message: 5
Date: 02 Jan 2004 14:31:03 +0100
From: Frediano Ziglio <freddyz77 at tin.it>
Subject: Re: [freetds] result of PHP odbc_field_type() call
To: FreeTDS Development Group <freetds at lists.ibiblio.org>
Message-ID: <1073050263.3422.3.camel at freddy>
Content-Type: text/plain; charset=ISO-8859-15

Il ven, 2004-01-02 alle 12:42, Andreas Schlögl ha scritto:
> Hi,
> 
> I'm using FreeTDS version 0.61 mostly with PHP over UnixODBC version 2.2.3 
to 
> connect to several MSSQL Servers version 7.0, using version 7.0 in 
> freetds.conf file.
> 
> I'm happy with FreeTDS, but can see that some functions are not supported it 
> looks like.
> The PHP function odbc_field_type() doesn't return anything useful. Is that 
> known? Can anybody confirm that this function is not supported yet or is it 
> something else which might be wrong here?
> 
> Regards,
> Andreas

SQLColAttributes/SQL_COLUMN_TYPE_NAME was not implemented in 0.61. 

Try a recent snapshot (recommended using old platform or *BSD/Mac OS X)
(http://ibiblio.org/pub/Linux/ALPHA/freetds/current/freetds-current.tgz)
or RC1
(http://ibiblio.org/pub/Linux/ALPHA/freetds/stable/freetds-0.62rc1.tar.gz). 

freddy77

Thanks for your response. I tried 0.62dev20031227. The result: It doesn't 
work, too. Furthermore the PHP call odbc_field_len() returns a large negative 
number now! This functions was working in version 0.61!

Andreas

-- 
MFG
Andreas Schlögl
Softwarelösungen & Consulting
PGP-key availabe for download
http://members.aon.at/asl/publicPGP_key.asc
Home Office, Suse Linux 8.2



More information about the FreeTDS mailing list