Skip to Content.
Sympa Menu

freetds - Re: [freetds] PHP and MSSQL API

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Daniel Fazekas <fdsubs AT axelero.hu>
  • To: FreeTDS Development Group <freetds AT lists.ibiblio.org>
  • Subject: Re: [freetds] PHP and MSSQL API
  • Date: Thu, 18 Mar 2004 00:37:53 +0100


On Mar 18, 2004, at 0:13, Robert Davis wrote:

Thanks. Ok to clarify. With --with-sybase the mssql_* are the exact
same as sybase_* (basically sybase renamed). So for instance I couldn't
call mssql_field_length unless I did --with-mssql. Right?

Yes, that's one of the examples.

You can get a list of functions defined by a loaded extension using the get_extension_funcs('extension_name') call.

Here's a list I extracted back when I started working on revising the PHP section of the FreeTDS manual. Which, er... I still didn't get around to finish.

The ones marked with <emphasis> are the ones exclusive to that extension.
There may be functional differences beyond that.

--with-mssql
<emphasis>mssql_bind</emphasis>
mssql_close
mssql_connect
mssql_data_seek
<emphasis>mssql_execute</emphasis>
mssql_fetch_array
mssql_fetch_assoc
<emphasis>mssql_fetch_batch</emphasis>
mssql_fetch_field
mssql_fetch_object
mssql_fetch_row
<emphasis>mssql_field_length</emphasis>
<emphasis>mssql_field_name</emphasis>
mssql_field_seek
<emphasis>mssql_field_type</emphasis>
mssql_free_result
mssql_free_statement
mssql_get_last_message
<emphasis>mssql_guid_string</emphasis>
<emphasis>mssql_init</emphasis>
<emphasis>mssql_min_error_severity</emphasis>
<emphasis>mssql_min_message_severity</emphasis>
<emphasis>mssql_next_result</emphasis>
mssql_num_fields
mssql_num_rows
mssql_pconnect
mssql_query
mssql_result
<emphasis>mssql_rows_affected</emphasis>
mssql_select_db

--with-sybase_ct
<emphasis>mssql_affected_rows</emphasis>
mssql_close
mssql_connect
mssql_data_seek
<emphasis>mssql_deadlock_retry_count</emphasis>
mssql_fetch_array
mssql_fetch_assoc
mssql_fetch_field
mssql_fetch_object
mssql_fetch_row
mssql_field_seek
mssql_free_result
mssql_get_last_message
<emphasis>mssql_min_client_severity</emphasis>
<emphasis>mssql_min_server_severity</emphasis>
mssql_num_fields
mssql_num_rows
mssql_pconnect
mssql_query
mssql_result
mssql_select_db
<emphasis>mssql_set_message_handler</emphasis>
<emphasis>mssql_unbuffered_query</emphasis>

--
fds





Archive powered by MHonArc 2.6.24.

Top of Page