|
-
Oct 24th, 2001, 05:19 AM
#1
Calling stored procedure from Pro C
EXEC SQL EXECUTE
BEGIN Y001.b0002( ortal_id, :cust_sup_id, :bill_num, :check_flag, :last_upd_date, :unyou_date, :goui_riyuu, :last_upd_person, :touroku_date, :err_code, :err_log);
END;
END-EXEC;
Here b0002 is stored procedure in package Y001.
I am getting Semantic Error to Begin statement.
Can anyone help me please.
-
Oct 24th, 2001, 11:57 AM
#2
-
Oct 24th, 2001, 08:56 PM
#3
CornedBee
I have mentioned it in subject. Calling stored procedures from Pro C.
Can you tell me that how to call a stored procedure from C program. I know that the following block is used but it is giving error that procedure name is not defined.
EXEC SQL EXECUTE
BEGIN
proc-name(param1, param2, ------- );
END;
END-EXEC;
-
Oct 24th, 2001, 09:42 PM
#4
IT's embedded pl/sql in embedded sql in Pro-C.
The reason is because you can't access the function.
I looked in Oracle 7.3 documentation - which you have to have if you have Pro-C. ALL of this stuff is in there.
Spend some time with the doc set. I do not use pl/sql except on alternate Thursdays in months that end with 'Q'.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|