Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 854555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T07:56:30+00:00 2026-05-15T07:56:30+00:00

I have problem with calling for my procedure. Oracle scrams PLS-00306 Error: Wrong number

  • 0

I have problem with calling for my procedure. Oracle scrams

PLS-00306 Error: Wrong number of types of arguments in call to procedure.

With my type declaration procedure has exact the same declaration like in header below. If I run it as separate procedure it works, when i work in ODCI interface for extensible index creation, it throws PLS-00306.

MEMBER PROCEDURE FILL_TREE_LVL
     (target_column VARCHAR2, cur_lvl NUMBER, max_lvl NUMBER, 
     parent_rect NUMBER,start_x NUMBER, start_y NUMBER,
     end_x NUMBER, end_y NUMBER) 
IS                          
    stmt VARCHAR2(2000);
    rect_id NUMBER;
    diff_x NUMBER;
    diff_y NUMBER;
    new_start_x NUMBER;
    new_end_x NUMBER;
    i NUMBER;
    j NUMBER;
 BEGIN
{...}   
 END FILL_TREE_LVL;


 STATIC FUNCTION ODCIINDEXCREATE 
   (ia SYS.ODCIINDEXINFO, parms VARCHAR2, env SYS.ODCIEnv) RETURN NUMBER
IS  
  stmt   VARCHAR2(2000);
  stmt2 VARCHAR2(2000);
  min_x NUMBER;
  max_x NUMBER;
  min_y NUMBER;
  max_y NUMBER;
  lvl NUMBER;
  rect_id NUMBER;
  pt_tab VARCHAR2(50);
  rect_tab VARCHAR2(50);
  cnum NUMBER;
  TYPE point_rect is RECORD(
    point_id NUMBER,
    rect_id NUMBER
  );
  TYPE point_rect_tab IS TABLE OF point_rect;
  pr_table point_rect_tab;

  BEGIN

  {...}
  FILL_TREE_LVL('any string', 0, lvl,0, min_x, min_y, max_x, max_y);
  {...}

  END;
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T07:56:31+00:00Added an answer on May 15, 2026 at 7:56 am

    I have no experience in PL/SQL OOP, but I guess the problem occurs because you try to call a member procedure from a static function. A member procedure always needs an object context, which is lacking in the call.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hi I have problem with calling store procedure on Oracle 10g server. This is
The Problem I have a CakePHP application in which I call a stored procedure:
i have a problem calling multiple instance of a class that i have coded
I have a problem with calling an overriden method from java class. I have
I have a problem in calling a template class I have. I declared a
I have some problem with calling web service from flex. I have service with
I have a problem with calling a property() inside a dynamic model in Django.
I have got a problem with calling a global function, which takes a pointer
Here's my problem: I have an unmanaged dll that I made.I'm calling one of
I'm having a never-ending problem with trying to call a stored procedure from a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.