Check out the "mssql_select_db" function. Call it right after the connection open.
Adam Voigt [EMAIL PROTECTED] 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php