Re: Efficient select/insert
- From: pgollucci@xxxxxxxxxx (Philip M. Gollucci)
- Date: Tue, 26 Apr 2005 16:19:00 -0400
Jonathan Mangin wrote:
$dbh->do("INSERT INTO t (col1, ...) SELECT col1, ... FROM t2 WHERE x = '$element'");I would like to select several rows from one table and insert them into another nearly identical table using Perl/DBI:
my @array = $q->param(); # HTML checkboxes
foreach my $element (@array) {
}
-- END ----------------------------------------------------------------------------- Philip M. Gollucci Senior Developer - Liquidity Services Inc. Phone: 202.558.6268 (Direct) E-Mail: pgollucci@xxxxxxxxxxxxxxx Web: http://www.liquidation.com
.
- Follow-Ups:
- Re: Efficient select/insert
- From: Jonathan Mangin
- Re: Efficient select/insert
- From: JupiterHost.Net
- Re: Efficient select/insert
- References:
- Efficient select/insert
- From: Jonathan Mangin
- Efficient select/insert
- Prev by Date: Efficient select/insert
- Next by Date: RE: Efficient select/insert
- Previous by thread: Efficient select/insert
- Next by thread: Re: Efficient select/insert
- Index(es):
Relevant Pages
|
|