Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2008

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

Search the Archive

Variable passing to SQLExecute

  • To: mathgroup at
  • Subject: [mg93456] Variable passing to SQLExecute
  • From: johney at
  • Date: Sun, 9 Nov 2008 05:25:03 -0500 (EST)

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