Ahem... sorry, but both are wrong. If you want to compare strings you have to write:
if [ "$v_count_1" == "0" ]
Notice not only the quotes around BOTH values but also the double equal signs. It is like in C: single "=" is an assignment, double "==" is for comparison.
If you want to compare integer values use "-eq" instead:
if [ $v_count_1 -eq 0 ]
other integer comparisons are:
-eq (equal to)
-ne (not equal)
-lt (lower than)
-le (lower or equal)
-gt (greater than)
-ge (greater or equal)
@tamojitc:
You are probably falling for "Cron Problem Number One", parts of which you have by now corrected by setting the path. There is probably a file ".ora_env" or something such in the HOME-directory of the oracle-user. I suggest sourcing in this at the beginning of the script to set the rest of the oarcle-environment (instance name, etc.):
#! /bin/ksh
. ./path/to/oracle-users/home/.ora_env
<rest of the script>