List:MySQL and Perl« Previous MessageNext Message »
From:Ruprecht Helms Date:August 1 2006 9:24am
Subject:Updatescript that uses variables
View as plain text  
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

how can I create a updatescript hat do SQL-Updates with values that are
stored in variables.

For example

1. Do a SELECT-Command and write 2 fieldentry into a variable
2. calculate the values and write the new value into a new variable
3. Do a UPDATE-Command and use the variable with the new value.

Regards,
Ruprecht
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEzx26OAckbBgiIFcRAmKRAJ4jaPtdV0hzPCAVwRZLE1TOkbM8DwCfaIbg
84ukjqFJPDsYsZ5/XIg+XTI=
=RrYf
-----END PGP SIGNATURE-----
Thread
Updatescript that uses variablesRuprecht Helms1 Aug