mssql_select_db Character Limits?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • buttshark2004@yahoo.com

    #1

    mssql_select_db Character Limits?

    There seems to be character limits that only apply to mssql_select_db
    where the database has a fairly long name like
    'FISH_STURGEON_ GUPPIES_ACTIVAT ION' is cut down to
    'FISH_STURGEON_ GUPPIES_ACTIVAT I' and of course fails WITH THE FOLLOWING
    ERROR:
    Warning: mssql_select_db () [function.mssql-select-db]: message: Could
    not locate entry in sysdatabases for database
    'FISH_STURGEON_ GUPPIES_ACTIVAT I'. No entry found with that name. Make
    sure that the name is entered correctly. (severity 16) in q88c.php on
    line 24

    Warning: mssql_select_db () [function.mssql-select-db]: Unable to select
    database: FISH_STURGEON_G UPPIES_ACTIVATI in q88c.php on line 24

    I tried concatenation but got the same problem. Unfortunately, I don't
    have the option of changing the name. And other long lines seem to pass
    without problems.

    Many thanks in advance!

Working...