Advertisement

10.26.2007 at 12:07PM PDT, ID: 22921008
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.2

Oracle - function and procedure assistance

Asked by khall16 in Oracle Database, Oracle 10.x, PL / SQL

Tags: , ,

I'm just not understanding functions.  I'm trying to create one PL/SQL block that contains two functions and two procedures.  I'm trying to create the first function and it's not working:

SQL> CREATE OR REPLACE FUNCTION NewAnnSal
  2  (p_Hourly_Rate Emps_tbl_TEST.Hourly_Rate%TYPE,
  3  p_Annual_Salary Emps_tbl_TEST.Annual_Salary%TYPE)
  4  
  5  RETURN NUMBER AS
  6  v_HR_Rate NUMBER;
  7  v_AnnSalNew NUMBER;
  8  BEGIN
  9  FOR EMP_REC IN (Select * from Emps_tbl_test)
 10  LOOP
 11  v_AnnSalNew := p_Hourly_Rate * 26*80;
 12  END LOOP;
 13  RETURN
 14  v_HR_Rate, v_AnnSalNew;
 15  END NewAnnSal;
 16  /

Warning: Function created with compilation errors.

SQL> SHO ERRORS
Errors for FUNCTION NEWANNSAL:

LINE/COL ERROR
-------- -----------------------------------------------------------------
14/10    PLS-00103: Encountered the symbol "," when expecting one of the
         following:
         . ( * @ % & = - + ; < / > at in is mod remainder not rem
         <an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
         LIKE4_ LIKEC_ between || multiset member SUBMULTISET_
         The symbol ". was inserted before "," to continue.

SQL> Start Free Trial
 
Loading Advertisement...
 
[+][-]10.26.2007 at 12:18PM PDT, ID: 20158291

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]10.26.2007 at 01:05PM PDT, ID: 20158626

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.26.2007 at 01:06PM PDT, ID: 20158628

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]10.26.2007 at 01:07PM PDT, ID: 20158634

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.26.2007 at 01:08PM PDT, ID: 20158641

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.26.2007 at 01:18PM PDT, ID: 20158720

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.26.2007 at 01:20PM PDT, ID: 20158730

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Oracle Database, Oracle 10.x, PL / SQL
Tags: oracle, function, procedure
Sign Up Now!
Solution Provided By: sdstuber
Participating Experts: 2
Solution Grade: B
 
 
[+][-]10.26.2007 at 01:53PM PDT, ID: 20158965

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.26.2007 at 03:03PM PDT, ID: 20159375

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.26.2007 at 03:04PM PDT, ID: 20159381

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.26.2007 at 03:12PM PDT, ID: 20159421

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.26.2007 at 03:18PM PDT, ID: 20159457

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.26.2007 at 03:32PM PDT, ID: 20159516

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.26.2007 at 03:35PM PDT, ID: 20159529

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]10.28.2007 at 08:35AM PDT, ID: 20165341

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.28.2007 at 09:02AM PDT, ID: 20165422

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.28.2007 at 09:09AM PDT, ID: 20165435

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.28.2007 at 09:11AM PDT, ID: 20165443

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.28.2007 at 09:41AM PDT, ID: 20165518

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]10.28.2007 at 09:45AM PDT, ID: 20165532

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20081112-EE-VQP-42 - Hierarchy / EE_QW_2_20070628