in reply to Interpolating subroutine call in SQL INSERT INTO SELECT statement
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Interpolating subroutine call in SQL INSERT INTO SELECT statement
by shadowsong (Pilgrim) on Aug 26, 2015 at 12:56 UTC |