You might be able to do simple interpolation using nothing but SQL inline with a few subqueries and some trivial math.
If you truley need a perl function to do the job, you'll have to do a select in one call. And then prep an insert data set for a second call.
In reply to Re: Interpolating subroutine call in SQL INSERT INTO SELECT statement
by KurtSchwind
in thread Interpolating subroutine call in SQL INSERT INTO SELECT statement
by shadowsong
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |