MSSQL: Spaces in database name
| From: | Robert D. Young | Date: | Wed, 08 Aug 2001 06:38:45 +0000 |
| Subject: | MSSQL: Spaces in database name | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-11128@lists.php.net to get a copy of this message | ||
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 apps (Access, SQL Admin, etc.) have no
problems with a database with a space in the name.
- Robert