By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,409 Members | 1,604 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,409 IT Pros & Developers. It's quick & easy.

stored procedure from php

P: n/a
Hi,
I have this simple stored procedure:
create or replace procedure CHGCUSTSTATUS as
i number;
begin....

I am calling it from PHP as
$query = "begin CHGCUSTSTATUS";
$result = ora_parse($cursor,$query);

I am getting the error:
Ora_Parse failed (ORA-06550: line 1, column 19: PLS-00103: Encountered
the symbol "end-of-file" when expecting one of the following: := . ( @
% ; -- while processing OCI function OPARSE)

What is(are) the mistakes in my code?

Thanks heaps,
CD

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.