For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!
hi all
in a single select statement can we identify whether the given number is prime r not.
select decode((mod(n,1)=0),'prime','notprime') from dual; ;n is the value.