Connecting Tech Pros Worldwide Help | Site Map

stored procedure from php

 
LinkBack Thread Tools Search this Thread
  #1  
Old July 17th, 2005, 12:53 PM
cool_dude7244@yahoo.com
Guest
 
Posts: n/a
Default stored procedure from php

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


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.