SQL Server 2000 problem (column_source in mssql_fetch_field function)
| From: | Elson Moura | Date: | Fri, 26 Sep 2003 21:49:46 +0000 |
| Subject: | SQL Server 2000 problem (column_source in mssql_fetch_field function) | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-30726@lists.php.net to get a copy of this message | ||
Hello everybody,
I need help in order to get the table name of a field in SQL Server 2000.
In order to get the table name of a specific column in a query, I tried to
use "mssql_fetch_field function". But "column_source" is, in fact, the
column name, not the table name how it was supposed to be.
In a recent past, I used "mysql_fetch_field", and the "table" property
worked fine. Now had this problem when migrating from MySql to SQL Server.
Any thoughts?