my $COUNT_1;
my $parameter1 = 'PU_CLERK';
$COUNT_1 = `sqlplus -s hr/password\@dbname\@sql_script.sql $parameter1`;
$COUNT_2 = `sqlplus -s hr/password\@dbname\@sql_script1.sql $parameter2`;
if ($COUNT_1 == $COUNT_2)
{
then
do something
}
####
select count(*) from employees
where job_id <> '&1'
and salary > 9000
and commission_pct is not null
order by first_name desc
/
exit;
####
my $COUNT_1;
my $parameter1 = 'PU_CLERK';
$COUNT_1 = `sqlplus -s hr/password\@dbname\@sql_script.sql`;
$COUNT_2 = `sqlplus -s hr/password\@dbname\@sql_script1.sql`;
if ($COUNT_1 == $COUNT_2)
{
then
do something
}
####
select count(*) from employees
where job_id <> 'PU_CLERK'
and salary > 9000
and commission_pct is not null
order by first_name desc
/
exit;