denzil_cactus has asked for the wisdom of the Perl Monks concerning the following question:
so my question is why it is happenning even though I am using the field in smallselect distinct top_no from top WHERE rownum < 5 $sth = $oDbh->prepare($query); $sth->execute(); while ( my $rowUpper = $sth->fetchrow_hashref) { my $query = "select file.* where top_no = '". $rowUpper->{top_no}."'" +; <> Here its not working since it is printing TOP_NO i.e. in caps } Printed with the Data::Dumper and it is printing this $VAR1 = [ { 'TOP_NO' => '072B03' } ];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Field name appearing in caps which falis other query(Perl with Oracle)
by lamp (Chaplain) on Mar 24, 2009 at 07:00 UTC | |
|
Re: Field name appearing in caps which falis other query(Perl with Oracle)
by holli (Abbot) on Mar 24, 2009 at 07:04 UTC | |
by denzil_cactus (Sexton) on Mar 24, 2009 at 08:56 UTC |