473,397 Members | 2,028 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

wrong number or types of arguments in call to 'GET_DNAME_FOR_ID1.

Hi all,

M create a procedure which will return the matching value .
when m creating the procedure is beging crerated but its throwing an error while excuating...

here is the script

Create or replace Procedure get_dname_for_id1
( i_dept_id in dept.deptno%type,
o_dname out dept.dname%type ) IS
begin
select dname
into o_dname
from dept
where deptno = i_dept_id;
End;
/

Procedure created.

When m trying to excute its throwing the error......

ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'GET_DNAME_FOR_ID1'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored


please help me......


thanks,
sonu chadha.....
Apr 29 '09 #1
2 2628
Nepomuk
3,112 Expert 2GB
Hi sonu!
This is the introductions area and not the place for technical questions. Those belong under topics -> the language you're using -> answers. If the language you're using isn't represented there, the Misc Section is the right place.

Now, in this case I don't know, which language it is you're using. Might be Delphi from what I know but as the error says something about SQL, maybe it's MySQL or something like that? If you tell us which language it is, I'm sure one of us mods will move it to the right section for you.

Greetings,
Nepomuk
Apr 29 '09 #2
debasisdas
8,127 Expert 4TB
The error message is self explanatory.

How are you calling the procedure ?
Apr 30 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Doron | last post by:
hi, getting the following error when running the script below. it seems to me that the cursor is retrieving more then one value each loop. any idea how to fix this? error: ERROR at line 10:...
2
by: Pial | last post by:
Hi : I am using Asp.Net, C#, Oracle . I am trying to execute this Stored Procedure, and it gives me an error "Error Message: ORA-06550: line 1, column 7: PLS-00306: wrong number or types of...
15
by: XZ | last post by:
Hi everyone, this is really confusing to me: #include <stdio.h> main(int argc, char **argv) { printf("argv = %f\n",(double)atof(argv)); printf("argv = %d\n\n",atoi(argv)); } $ a.out a argv...
12
by: dima | last post by:
Hello All! Does anybody know anything about type-safe implementation of functions with varying number of arguments? I know one old solution - elipsis (stdarg,h). But it is NOT type-safe! ...
42
by: Holger | last post by:
Hi guys Tried searching for a solution to this, but the error message is so generic, that I could not get any meaningfull results. Anyways - errormessage:...
18
by: John Friedland | last post by:
My problem: I need to call (from C code) an arbitrary C library function, but I don't know until runtime what the function name is, how many parameters are required, and what the parameters are. I...
2
dmjpro
by: dmjpro | last post by:
this is my funciton block in oracle ....... Function PIM_TEST ( param1 IN DATE DEFAULT SYSDATE, param2 IN OUT DATE) RETURN DATE IS -- -- To modify this template, edit file...
3
dmjpro
by: dmjpro | last post by:
plz explain this ....... PLS-00306: wrong number or types of arguments in call any help is most welcome ......
5
by: kaushal30 | last post by:
I am getting this error when I call a stored procedure from my C# code. It is a simple stored procedure with six params that inserts data : PROCEDURE LHD_SUR_ADMNEXP_HDR_INS ( ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.