Error with database containing "-" in database name

Stefan Sonnenberg-Carstens s.sonnenberg at coolspot.de
Wed Jul 3 13:06:15 EDT 2002


Thanx, it works !!!!

----- Original Message -----
From: "ZIGLIO Frediano" <Frediano.Ziglio at vodafoneomnitel.it>
To: "TDS Development Group" <freetds at franklin.oit.unc.edu>
Sent: Wednesday, July 03, 2002 12:04 PM
Subject: [freetds] RE: Error with database containing "-" in database name


> >
> > Hi folks,
> > We have a database named "p-customers".
> > I used the following PHP code to connect and query :
> >
> > $con = mssql_pconnect("MSSQL","xxx","xxx");
> > mssql_select_db('p-customers');
>
> Try mssql_select_db('[p-customers]');
>
> freddy77
>
> =================================
> "STRICTLY PERSONAL AND CONFIDENTIAL
>
> This message may contain confidential and proprietary material for the
sole
> use of the intended recipient. Any review or distribution by others is
> strictly prohibited. If you are not the intended recipient please contact
> the sender and delete all copies.
> The contents of this message that do not relate to the official business
of
> our company shall be understood as neither given nor endorsed by it."
>
> =================================
>
> ---
> You are currently subscribed to freetds as: [s.sonnenberg at coolspot.de]
> To unsubscribe, forward this message to
$subst('Email.Unsub')
>




More information about the FreeTDS mailing list