question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Oracle: Missing IN or OUT parameter at index:: 1

See original GitHub issue

Hi , I have downloaded latest DBeaver (version 7.1.0). But i’m having trouble while executing stored procedures having IN & OUT params. Always getting below errors:

CALL MY_PKG.P_TEST_ACCOUNT_CHECK('abc@gmail.com',?);

SQL Error [17041] [99999]: Missing IN or OUT parameter at index:: 1

But its working fine if my proc has only OUT params. I tried searching existing issues but can’t find any recent issue on the same but found pretty old issue raised around in 2016 which was resolved later.

So created new issue. Please help me out.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
skaluvacommented, Jun 16, 2020

hi @simasch, Got the issue. My package is in same schema under which i’m running the proc. The problem here is:

When i right click and select “Execute Stored Procedure” on the package, tool opening new sql editor with below command (missing schema prefix, which i didn’t notice):

CALL MY_PKG.P_TEST_ACCOUNT_CHECK('abc@gmail.com',?); — THIS GIVES ERROR

where as if i create it as normal procedure, and try to run after right clicking and select “Execute Stored Procedure”, tool opening new sql editor with below command(prepending schema prefix properly):

CALL MYSCHEMA.P_TEST_ACCOUNT_CHECK('abc@gmail.com',?); – THIS RUNS FINE.

When i add schema prefix manually to the above package command, it runs fine and gives result as expected.

Looks like this is issue with editor when i run procedure inside package.

1reaction
simaschcommented, Dec 15, 2020

@simasch The schema is also need unless there is a public synonym

Read more comments on GitHub >

github_iconTop Results From Across the Web

Oracle "SQL Error: Missing IN or OUT parameter at index:: 1"
The driver is some unknown or varying JDBC version to Oracle. My error desc was originated from some 3rd party bin: Excel Plugin...
Read more >
Missing IN or OUT parameter at index:: 1 - Oracle Communities
Hi All,. I'm tring to use update statement in ODI procedure. UPDATE tbl SET flag= CASE WHEN TO_TIMESTAMP(LOGDATE||' '||SUBSTR(LOGTIME,11),'DD-MON-YY ...
Read more >
Missing IN or OUT parameter at index: 1(Resolved) - Srinimf
I got error 'Missing IN or OUT parameter at index: 1'. I researched the root cause. The reason is a problem with the...
Read more >
Error "Missing IN or OUT parameter at index:: 1, error code - IBM
1. Set the Parameter1 attribute as the proper value · 2. Set the Parameter2 attribute as the proper value · 3. Unset the...
Read more >
java sql SQLException Missing IN or OUT parameter at index 1
java sql SQLException Missing IN or OUT parameter at index 1 ... Using OJDBC 6, I created some Java 1.6-Oracle11g-JDBC code (below). I'm...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found