ID: 28192 Updated by: [EMAIL PROTECTED] Reported By: docv00d00 at hotmail dot com -Status: Open +Status: Bogus Bug Type: MSSQL related Operating System: windows 2003 PHP Version: 4.3.6 New Comment:
This is a limitation in the library (from Microsoft) that is used for the php extension. Microsoft has not updated the library since SQL Server 6.x where column, table and database names was limited to 30 chars. Previous Comments: ------------------------------------------------------------------------ [2004-04-27 22:30:34] docv00d00 at hotmail dot com Description: ------------ mssql_select_db() doesnt let you select a database thats longer than 30 characters? Reproduce code: --------------- $Server = "server\\server,1433"; $User = "sa"; $Pass = "password"; $DB = "Thirty_Characters_or_more_db_name_here"; $s = mssql_connect("$Server", "$User", "$Pass"); $d = mssql_select_db("$DB", $s)or die("Couldn't open database $DB"); Expected result: ---------------- unable to select 'Thirty_Characters_or_more_db_na' from sysbase table... Actual result: -------------- same as above ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=28192&edit=1