Answer Posted / brahma412
i think procedure does not return any values.
but fuction returns value
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
How are extents allocated to a segment?
> 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?
What are the different pseudo commands? Explain in general?
what is IDE,DMV in sql server?
How many categories of data types?
Is there a combination of "like" and "in" in sql?
How to call a sub procedure?
What are privileges and grants?
what is the dual table in oracle?
How to test null values?
What is a cursor variable?
How to convert dates to characters in oracle?
What is oracle host variable?
In the oracle version 9.3.0.5.0, what does each number shows?
What do you mean by a deadlock?