I am doing the below in a perl script:
my @pm1_CS_missing_months = `sqlplus -s $connstr \@DLmissing_months.sql`;
it takes the output of an sql query. if i have to check for no rows selected,how could i do it? i want to do like this:
if(no rows selected)
{
do this;
}