In Exception handling if we are using the when others first then what happens . whether it will show the compiler error
HCL,
2 12479> 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?
1990Hi how Can I Add A Foreign key that references a table that has composit primary key ? example i had costumer table that has C_Id and SSN Both as PK and another table has C_Id that must refernece C_Id in Customers i done the usual way and got oracle error message about uniqeness any ideas plz
2 4361We are using Oracle apps with XML publisher.In that,we are facing some problems while giving a Footer in RTF Template.While giving a footer in RTF Template it is Visible in all the pages,but after the PDF is getiing generated,the Footer are Visible on alternate pages only (like on first page ,third page) and so on. Please provide the Solution for getting the Footer on all the pages.
5293Post New Oracle General Questions
What is blob datatype?
How to retrieve data from an explicit cursor?
When do I need to use a semicolon vs a slash in oracle sql?
How to insert a record into a table?
What is bulk copy or bcp in oracle?
Can we use bind variables in oracle stored procedure?
Can we connect to ORACLE db using Windows Authentication?
What happens to the current transaction if the session is killed?
How to handle a single quote in oracle sql?
How much memory your 10g xe server is using?
What do the 9i dbms_standard.sql_txt() and dbms_standard.sql_text() procedures do?
Can any one explain me when i execute below query.. select months_between('07-JUL-12','10-FEB-12') from dual; Out put:- 4.90322581 How oracle calculate?
Explain rename?
What is PL/SQL ?
List out the types of joins.