Re: [PHP] MS SQL Server and ODBC
Ofcourse not. I didn't say it would. ODBC and FreeTDS (which is what he said he was using) are two totally different drivers. Thats like saying mysql_select_db wouldn't work for Oracle databases, ofcourse they wouldn't, there different drivers. Adam Voigt [EMAIL PROTECTED] On Thu, 2002-07-11 at 10:08, Michael Davey wrote: > However, this still wouldn't work for ODBC... > > "Adam Voigt" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I wouldn't have said it if it did. > > Notice that it's MSSQL_select_db not MYSQL_select_db. > > > > Adam Voigt > > [EMAIL PROTECTED] > > > > On Thu, 2002-07-11 at 10:03, Michael Davey wrote: > > > Errr - doesn't that function apply to mySQL databases only? > > > > > > Mikey > > > > > > "Adam Voigt" <[EMAIL PROTECTED]> wrote in message > > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > > 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 > > > > > > > > > > > -- > 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
Re: [PHP] MS SQL Server and ODBC
However, this still wouldn't work for ODBC... "Adam Voigt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I wouldn't have said it if it did. > Notice that it's MSSQL_select_db not MYSQL_select_db. > > Adam Voigt > [EMAIL PROTECTED] > > On Thu, 2002-07-11 at 10:03, Michael Davey wrote: > > Errr - doesn't that function apply to mySQL databases only? > > > > Mikey > > > > "Adam Voigt" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > 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 > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] MS SQL Server and ODBC
doh! "Adam Voigt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I wouldn't have said it if it did. > Notice that it's MSSQL_select_db not MYSQL_select_db. > > Adam Voigt > [EMAIL PROTECTED] > > On Thu, 2002-07-11 at 10:03, Michael Davey wrote: > > Errr - doesn't that function apply to mySQL databases only? > > > > Mikey > > > > "Adam Voigt" <[EMAIL PROTECTED]> wrote in message > > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > 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 > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] MS SQL Server and ODBC
I wouldn't have said it if it did. Notice that it's MSSQL_select_db not MYSQL_select_db. Adam Voigt [EMAIL PROTECTED] On Thu, 2002-07-11 at 10:03, Michael Davey wrote: > Errr - doesn't that function apply to mySQL databases only? > > Mikey > > "Adam Voigt" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > 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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] MS SQL Server and ODBC
Errr - doesn't that function apply to mySQL databases only? Mikey "Adam Voigt" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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
Re: [PHP] MS SQL Server and ODBC
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