RE: [PHP-WIN] [ANNOUNCEMENT] ODBTP 1.1.1 Released

From: Date: Thu, 03 Jun 2004 18:45:09 +0000
Subject: RE: [PHP-WIN] [ANNOUNCEMENT] ODBTP 1.1.1 Released
References: 1  Groups: php.db php.windows 
Request: Send a blank email to php-db+get-34642@lists.php.net to get a copy of this message
If you are using odbtp as a driver for the mssql ext, and want mssql_field_type() to return the actual type name, then call odbtp_set_attr( ODB_ATTR_FULLCOLINFO, 1 ); before you run any queries. -- bob On Thu, 3 Jun 2004, Frank M. Kromann wrote: > mssql_field_type() is the function for that. > > - Frank > > > Robert, > > > > Do you have an example of pulling the Column types from an MS Sql query? > For example: select top 1 * from mytablename. > > > > loop thru the fields in the recordset and print out their data types?

« previous php.db (#34642) next »