Skip to Main Content

Java Programming

Announcement

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!

How to add values from array??

807605Oct 14 2007 — edited Oct 14 2007
How to add all the int or float values that are present in array??
e.g

float abc[] ={2.1,3.2,5.2,4.1,3.25};

How to add all the values in abc like for e.g 2.1+3.2........??
any program???

Comments

2926792

select object_name,object_type,status,owner from dba_objects where owner='SYS' and status='INVALID';

 

select comp_name, version, status from dba_registry;

As considered,SYS.KUPU$UTILITIES_INT should be invalid.

connect / as sysdba;

 

SQL> set echo on

SQL> SPOOL /tmp/catalog.log

SQL> @catalog.sql <--------------$ORACLE_HOME/rdbms/admin

SQL> SPOOL off

SQL> SPOOL /tmp/catproc.log

SQL> @catproc.sql <--------------$ORACLE_HOME/rdbms/admin

SQL> SPOOL off

SQL> SPOOL /tmp/utlrp.log

SQL> @utlrp.sql <--------------$ORACLE_HOME/rdbms/admin

SQL> SPOOL off

 

Execute utlrp.sql script for multiple times like 5 times in 3 minute interval.

Wesley D-Oracle

The direct approach:

sqlplus / as sysdba
@?/rdbms/admin/prvthpui.plb
@?/rdbms/admin/prvtbpui.plb
alter package KUPW$WORKER compile body;

Confirm if "KUPU$UTILITIES_INT" has successfully validated.

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 11 2007
Added on Oct 14 2007
6 comments
157 views