Skip to Content.
Sympa Menu

freetds - RE: Error with database containing "-" in database name

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "Stefan Sonnenberg-Carstens" <s.sonnenberg AT coolspot.de>
  • To: "TDS Development Group" <freetds AT franklin.oit.unc.edu>
  • Subject: RE: Error with database containing "-" in database name
  • Date: Wed, 3 Jul 2002 12:06:15 +0200


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')
>





Archive powered by MHonArc 2.6.24.

Top of Page