Hello Monks!
I am getting this kind of problem while working with oracle database
my select query is
select 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'
}
];
so my question is why it is happenning even though I am using the field in small
(May be its because of Oracle's internal structure)
Please advise how can I fix it? I need to have in small caps only