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
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:44 MET