esolm has asked for the wisdom of the Perl Monks concerning the following question:
# *********** # CDS MVOCXX # *********** my ($sqlquery3, @list3); # PREPARE SQLQUERY3 CDS_MVOCXX********************************** $sqlquery3=$CDS->prepare(" SELECT distinct cds_mvocxx.id, cds_mvocxx.text FROM cds_mvocxx, ( SELECT cds_mspecxx.* FROM cds_mspecxx, ( SELECT prodid FROM cds_prod WHERE catid = 'AC')vt1 WHERE cds_mspecxx.prodid = vt1.prodid)vt2 WHERE id = vt2.hdrid or id = vt2.bodyid"); # RUN SQLQUERY3 CDS_MVOCXX*********************************** $sqlquery3->execute() || die "couldn't execute query: $DBI::errstr\n"; print "run\n"; while (( my $id1, my $text) = $sqlquery3->fetchrow_array) { push @list3, "$id1\t$text\n"; } # WRITE CDS_MVOCXX to a file*************************************** + open cds_mvocxx, "> c:/splitcat/components/mvocxx.txt" or die "i'm dyi +ng can't open log file"; print cds_mvocxx @list3; $sqlquery3 ->finish(); close cds_mvocxx;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: wise ones, your help is needed
by japhy (Canon) on May 02, 2001 at 20:47 UTC | |
by esolm (Acolyte) on May 02, 2001 at 21:14 UTC | |
by japhy (Canon) on May 02, 2001 at 21:27 UTC | |
by damian1301 (Curate) on May 02, 2001 at 23:26 UTC | |
by japhy (Canon) on May 02, 2001 at 23:33 UTC | |
|
Re: wise ones, your help is needed
by Jouke (Curate) on May 02, 2001 at 20:53 UTC |