> 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 database files and filegroups? : Sql server database administration
How do I save the results of sql query in a file?
What is the name of the deer which is on th everge of extinction?
Distinguish between a predicate and a function?
Is it possible to use a S1 duty class motor for crane application (S4)? If not, why?
How do I change which app opens a file?
What does the term sovereignty mean?
How many compaction types are in HBase?
What is oledb driver?
What does webkit mean in css?
What is monolithic kernel?
How can I determine the isolation levels supported by my DBMS?
What is normalization in dbms?
What is the function of managedconnection.addconnectioneventlistener() in web logic server?