MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Variable passing to SQLExecute

I'm trying to pass a variable to a SQLExecute command as follows:

v2 =1500
SQLExecute[db, "UPDATE table1 SET result = v1 WHERE recnum = v2"]

If I substitute v1 for a number it works.


  • Prev by Date: RE: Bras and Kets
  • Next by Date: Re: $Aborted
  • Previous by thread: Re: Storing and Loading Definitions / Emulating Associative Arrays
  • Next by thread: Re: Variable passing to SQLExecute