Re: MS SQL Server and ODBC
| From: | Adam Voigt | Date: | Thu, 11 Jul 2002 13:58:12 +0000 |
| Subject: | Re: MS SQL Server and ODBC | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-107125@lists.php.net to get a copy of this message | ||
Check out the "mssql_select_db" function.
Call it right after the connection open.
Adam Voigt
adam.voigt@cryptocomm.com
On Thu, 2002-07-11 at 12:31, Tim Nields wrote:
> I am attempting to connect to a MSSQL 2000 database from a linux box. I
> have installed freetds successfully and configured php with sybase as
> directed by freetds.
>
> I configured the freetds .conf file. However this is where I have
> questions. The freetds.conf file only asks for the ip address of the
> database server. I have mulitple databases on my database server. How do I
> specify the database that I'm trying to reach?
>
> Are there any configuration flags that I could be missing to use
> odbc_connect, etc.?
>
> Any help would be greatly appreciated.
>
> Tim
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>