Advertisement

06.02.2008 at 05:18AM PDT, ID: 23449561
[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!

9.3

VARRAY PL/SQL

Asked by Suriyaraj_Sudalaiappan in PL / SQL, Oracle Database, Oracle 9.x

Tags: ,

Hi,
   I have written a procedure like below.

TYPE GENERAL IS VARRAY (100) OF VARCHAR2(1000);

PROCEDURE GET_GENERAL_INFO
              (i_quote_header_id IN NUMBER,
               O_LINE_ID_GEN OUT GENERAL,
               O_LINE_GENERAL_INFO OUT GENERAL)
IS
  V_LINE_ID_GEN NUMBER;
  V_LINE_GENERAL VARCHAR2(4000);
 
  LINE_ID_GEN GENERAL := GENERAL();
  LINE_GENERAL_INFO GENERAL := GENERAL();

CURSOR general_info IS
      select
            main_line.QUOTE_LINE_ID,
            MTL_SYSTEM_ITEMS_TL.LONG_DESCRIPTION
      from
            ASO_QUOTE_LINES_ALL main_line,
            MTL_SYSTEM_ITEMS_TL
      where
            QUOTE_HEADER_ID = i_quote_header_id--41332
            AND main_line.LINE_NUMBER = 40000
            AND main_line.LINE_LIST_PRICE <>0
            AND main_line.ORGANIZATION_ID = MTL_SYSTEM_ITEMS_TL.ORGANIZATION_ID
            AND main_line.INVENTORY_ITEM_ID = MTL_SYSTEM_ITEMS_TL.INVENTORY_ITEM_ID
            AND NVL(MTL_SYSTEM_ITEMS_TL.LANGUAGE,userenv('LANG')) = userenv('LANG');
BEGIN
       OPEN general_info;
       LOOP
              FETCH general_info INTO V_LINE_ID_GEN, V_LINE_GENERAL;
             DBMS_OUTPUT.PUT_LINE(V_LINE_ID_GEN||' '||V_LINE_GENERAL);
             EXIT WHEN general_info%NOTFOUND;
             
      LINE_ID_GEN.extend;
      LINE_ID_GEN(LINE_ID_GEN.count) := V_LINE_ID_GEN;
      LINE_GENERAL_INFO.extend;
      LINE_GENERAL_INFO(LINE_GENERAL_INFO.count) := V_LINE_GENERAL;
      
      END LOOP;
      CLOSE general_info;

      O_LINE_ID_GEN := LINE_ID_GEN;
      O_LINE_GENERAL_INFO := LINE_GENERAL_INFO;
      

END GET_GENERAL_INFO;

When i call this by using the following code

SET SERVEROUTPUT ON

variable g_line_id NUMBER;
variable g_gen VARCHAR2(4000);
exec XXIBE_VA_QUOTE_PRINT_PKG.GET_GENERAL_INFO(41332, :g_line_id, :g_gen);
print g_line_id
print g_gen

The error is coming like the following:
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'GET_GENERAL_INFO'
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'GET_GENERAL_INFO'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
             
                    What is the reason? Please let me know the solution for this


Start Free Trial
[+][-]06.02.2008 at 05:26AM PDT, ID: 21691322

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.

 
[+][-]06.02.2008 at 05:32AM PDT, ID: 21691360

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.

 
[+][-]06.02.2008 at 06:02AM PDT, ID: 21691544

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.

 
[+][-]06.02.2008 at 06:09AM PDT, ID: 21691591

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.

 
[+][-]06.02.2008 at 06:11AM PDT, ID: 21691607

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.

 
[+][-]06.02.2008 at 06:13AM PDT, ID: 21691620

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.

 
[+][-]06.02.2008 at 06:15AM PDT, ID: 21691631

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.

 
[+][-]06.02.2008 at 06:23AM PDT, ID: 21691693

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.

 
[+][-]06.02.2008 at 06:34AM PDT, ID: 21691798

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.

 
[+][-]06.02.2008 at 07:04AM PDT, ID: 21692049

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.

 
[+][-]06.02.2008 at 07:25AM PDT, ID: 21692220

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.

 
[+][-]06.02.2008 at 07:56AM PDT, ID: 21692550

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.

 
[+][-]06.02.2008 at 08:03AM PDT, ID: 21692617

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: PL / SQL, Oracle Database, Oracle 9.x
Tags: SQL, PL/SQL, Internet Explorer 7.0
Sign Up Now!
Solution Provided By: sdstuber
Participating Experts: 3
Solution Grade: A
 
 
[+][-]06.02.2008 at 08:20AM PDT, ID: 21692775

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.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628