RE: [PHP-DB] MSSQL: Spaces in database name

2001-08-09 Thread Robert D. Young
stuff > >mssql_select_db($dbname); > >worked perfectly. Again, Thanks! > >- Robert > >-Original Message- >From: Beau Lebens [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, August 07, 2001 11:46 PM >To: 'Robert D. Young'; '[EMAIL PROTECTED]' >Subj

RE: [PHP-DB] MSSQL: Spaces in database name

2001-08-09 Thread Miles Thompson
fectly. Again, Thanks! > >- Robert > >-Original Message- >From: Beau Lebens [mailto:[EMAIL PROTECTED]] >Sent: Tuesday, August 07, 2001 11:46 PM >To: 'Robert D. Young'; '[EMAIL PROTECTED]' >Subject: RE: [PHP-DB] MSSQL: Spaces in database name

RE: [PHP-DB] MSSQL: Spaces in database name

2001-08-08 Thread Robert D. Young
sible) -Original Message- From: Graeme Merrall [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 08, 2001 8:19 PM To: Robert D. Young Cc: 'Beau Lebens'; '[EMAIL PROTECTED]' Subject: RE: [PHP-DB] MSSQL: Spaces in database name Quoting "Robert D. Young" <[EM

RE: [PHP-DB] MSSQL: Spaces in database name

2001-08-08 Thread Graeme Merrall
Quoting "Robert D. Young" <[EMAIL PROTECTED]>: > That did it! Using: > > <... stuff > > $dbname = "[Test Database]"; > <... more stuff > > mssql_select_db($dbname); > > worked perfectly. Again, Thanks! This is standard Microsoft (and maybe ODBC?) syntax. Using square brackets will work on mo

RE: [PHP-DB] MSSQL: Spaces in database name

2001-08-08 Thread Robert D. Young
7;Robert D. Young'; '[EMAIL PROTECTED]' Subject: RE: [PHP-DB] MSSQL: Spaces in database name i noticed in teh sql of working with some apps that it does things like [Test Database].fieldname that might work :) HTH Beau // -Original Message- // From: Robert D. Young [mailt

RE: [PHP-DB] MSSQL: Spaces in database name

2001-08-07 Thread Beau Lebens
ject: [PHP-DB] MSSQL: Spaces in database name // // // How can I get mssql_select_db to accept a database name with // spaces in it? // For example, this: // // <... stuff > // $dbname = "Test Database"; // <... more stuff > // mssql_select_db($dbname); // // doesn'

[PHP-DB] MSSQL: Spaces in database name

2001-08-07 Thread Robert D. Young
How can I get mssql_select_db to accept a database name with spaces in it? For example, this: <... stuff > $dbname = "Test Database"; <... more stuff > mssql_select_db($dbname); doesn't work. But if I change to a database with no space in the name (like "Test_Database") it works fine. Other app