Updatescript that uses variables

Ruprecht Helms <[email protected]>
Newsgroups gmane.comp.db.mysql.perl
Message-ID <[email protected]>
-----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-----

-- 
MySQL Perl Mailing List
For list archives: http://lists.mysql.com/perl
To unsubscribe:    http://lists.mysql.com/[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.