note 97560 added to function.mssql-select-db

From: Date: Mon, 26 Apr 2010 09:27:26 +0000
Subject: note 97560 added to function.mssql-select-db
Groups: php.notes 
Request: Send a blank email to php-notes+get-168639@lists.php.net to get a copy of this message
hey all i have this probleme with my database name which is too long( more than 30 characters) as 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... the problem i can't change the name to a shorter one .. can anyone help me with that plzz.. ---- Server IP: 69.147.83.197 Probable Submitter: 41.92.0.51 ---- Manual Page -- http://www.php.net/manual/en/function.mssql-select-db.php Edit -- https://master.php.net/note/edit/97560 Del: integrated -- https://master.php.net/note/delete/97560/integrated Del: useless -- https://master.php.net/note/delete/97560/useless Del: bad code -- https://master.php.net/note/delete/97560/bad+code Del: spam -- https://master.php.net/note/delete/97560/spam Del: non-english -- https://master.php.net/note/delete/97560/non-english Del: in docs -- https://master.php.net/note/delete/97560/in+docs Del: other reasons-- https://master.php.net/note/delete/97560 Reject -- https://master.php.net/note/reject/97560 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#168639) next »