Hi Fons,
thanks for useful comment.
two reasons:
- too complex for PhD
- it's not obvious (I've been using root for last five years but did not
figure out about Form... well, saw it many times of course :) )
Cheers,
Anton
Fons Rademakers <Fons.Rademakers@cern.ch> on 03/06/2002 03:48:11 PM
To: anton.fokin@nl.fortisbank.com
cc: roottalk@pcroot.cern.ch
Subject: Re: [ROOT] TSQLServer::Query enhancement request
Hi Anton,
why not:
myserv->Query(Form("DELETE FROM stock WHERE name = %s",
Stock->GetName()));
Cheers, Fons.
On Wed, 2002-03-06 at 15:41, anton.fokin@nl.fortisbank.com wrote:
> Hi Fons et.al.,
>
> could you enhance SQLServer::Query() so that it takes format string and
an
> optional list of parameters lke printf().
>
> SQLServer::Query("DELETE FROM stock WHERE name = %s", Stock->GetName());
>
> Cheers,
> Anton
>
>
>
>
___________________________________________________________________________
>
> This e-mail is sent for the sole attention of the identified addressee
and its
> contents are provided for information purposes only. Fortis Bank makes no
> warranty or representation as to the accuracy and completeness of any
> information and does not assume whatever commitment hereby. Legally
binding
> obligation can only arise for, or be entered into on behalf of, Fortis
Bank by
> means of a written instrument, signed by two duly authorised
representatives of
> Fortis Bank. Fortis Bank excludes any liability whatsoever for any direct
or
> consequential loss arising from the use, or reliance on, this e-mail or
its
> contents.
>
___________________________________________________________________________
--
Org: CERN, European Laboratory for Particle Physics.
Mail: 1211 Geneve 23, Switzerland
E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248
WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7679480
[INFO] -- Virus Manager:
Message contains no viruses.
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:44 MET