Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> How do you return values with Procedures?
I have a simple procedure that takes in a VARCHAR2 and outputs a number while doing an insert:
(id out NUMBER, email in VARCHAR2)
IS
BEGIN
select foo_seq.nextval into id from dual; insert into foo(id, email, visit_date) values(id, email, sysdate);
So when I call it, I use "exec testDemo('me_at_here.com');" and I get the error:
ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'TESTDEMO' ORA-06550: line 1, column 7:
What am I doing wrong?
Thanks,
Sean Dolan
sean_at_3si.com
Received on Tue Feb 23 1999 - 13:06:28 CST
![]() |
![]() |