note 85214 added to function.mssql-select-db
| From: | edoceo at osu1 dot php dot net | Date: | Wed, 20 Aug 2008 18:59:06 +0000 |
| Subject: | note 85214 added to function.mssql-select-db | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-143684@lists.php.net to get a copy of this message | ||
Use of square brackets to enclose the database name is also necessary if the name contains a dot:
'.'
e.g.
mssql_select_db('Company.ERP');
Produces the error:
Warning: mssql_select_db(): Sybase: Server message: Could not locate entry in sysdatabases for
database 'Company'. No entry found with that name. Make sure that the name is entered
correctly. (severity 16, procedure N/A) in
mssql_select_db('[Company.ERP]');
Will select successfully
----
Server IP: 69.147.83.197
Probable Submitter: 71.197.244.147
----
Manual Page -- http://www.php.net/manual/en/function.mssql-select-db.php
Edit -- https://master.php.net/note/edit/85214
Del: integrated -- https://master.php.net/note/delete/85214/integrated
Del: useless -- https://master.php.net/note/delete/85214/useless
Del: bad code -- https://master.php.net/note/delete/85214/bad+code
Del: spam -- https://master.php.net/note/delete/85214/spam
Del: non-english -- https://master.php.net/note/delete/85214/non-english
Del: in docs -- https://master.php.net/note/delete/85214/in+docs
Del: other reasons-- https://master.php.net/note/delete/85214
Reject -- https://master.php.net/note/reject/85214
Search -- https://master.php.net/manage/user-notes.php