why you need store procedure ? where do we use it in a Java
project? can you get the code for as store procedure using in
Java?

Answer Posted / guest

Stored procedure nothing but the set of SQLs which is
executed an controlled by database itself.Its useful when
you want to use the data from tables to be access
frequently.yes, we can get the same SQLs in java code as
well. Infact using Callable , stored procedures can be called.

Is This Answer Correct ?    20 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of failures that occur in Oracle database?

605


Explain a data segment?

650


does the query needs a hint to access a materialized view?

1468


What is control file used for?

606


How to export several tables together?

569






Write a trigger example in oracle?

575


What is oracle update statement with inner join ?

585


> CREATE OR REPLACE FUNCTION FACTORIAL_1(factstr varchar2 ) 2 RETURN NUMBER AS 3 new_str VARCHAR2(4000) := factstr||'*' ; 4 fact number := 1 ; 5 BEGIN 6 7 WHILE new_str IS NOT NULL 8 LOOP 9 fact := fact * TO_NUMBER(SUBSTR(new_str,1,INSTR(new_str,'*')-1)); 10 new_str := substr( new_str,INSTR(new_str,'*')+1); 11 END LOOP; 12 13 RETURN fact; 14 15 END; explanation Above program?

1571


What is the usage of synonyms?

593


What the is the diff between local index and global index. give some example.

1137


In XIR2 if we lost the administration password .How can we regain the password?thanks in advance.

1470


HI ALL, CAN ANYONE TELL ME THE DIFFERENCES BETWEEN SQL CLUSTURS,MSQL CLUSTERS,ORACLE CLUSTERS.......THANKS IN ADVANCE

1791


Explain enable novalidate constraint.

598


Explain the function of optimizer in oracle?

599


How to export data to a csv file?

627