note 80991 added to function.mssql-select-db
| From: | ifintel at osu1 dot php dot net | Date: | Sun, 10 Feb 2008 15:15:49 +0000 |
| Subject: | note 80991 added to function.mssql-select-db | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-135994@lists.php.net to get a copy of this message | ||
mssql_select_db() seems to truncate the databasename at the length of 30 characters. In my example
the following error occured:
mssql_select_db("VeryLongDatabaseNameWhichIsReallyLong", $this->dbConn);
Warning: mssql_select_db(): message: Could not locate entry in sysdatabases for database
'VeryLongDatabaseNameWhichIsRea'. No entry found with that na
me. Make sure that the name is entered correctly. (severity 16) in...
A shorter databasename solved this issue.
----
Server IP: 217.160.72.57
Probable Submitter: 217.148.129.4
----
Manual Page -- http://www.php.net/manual/en/function.mssql-select-db.php
Edit -- https://master.php.net/note/edit/80991
Del: integrated -- https://master.php.net/note/delete/80991/integrated
Del: useless -- https://master.php.net/note/delete/80991/useless
Del: bad code -- https://master.php.net/note/delete/80991/bad+code
Del: spam -- https://master.php.net/note/delete/80991/spam
Del: non-english -- https://master.php.net/note/delete/80991/non-english
Del: in docs -- https://master.php.net/note/delete/80991/in+docs
Del: other reasons-- https://master.php.net/note/delete/80991
Reject -- https://master.php.net/note/reject/80991
Search -- https://master.php.net/manage/user-notes.php