+ All Categories
Home > Software > Stored procedure

Stored procedure

Date post: 14-Aug-2015
Category:
Upload: prathap-kumar
View: 51 times
Download: 2 times
Share this document with a friend
Popular Tags:
23
INSERTING RECORDS USING STORED PROCEDURE In this I have created one table (records) with fields like st_no and st_name in kiran schema. Then I have created one stored procedure for inserting records into the records table as shown below. Create or replace procedure insert_records (st_no records.st_no%type, st_name records.st_name%type ) Is Begin Insert into records(st_no,st_name) Values(st_no,st_name); End insert_records; / Then I have created one project and I have taken one DB Adapter at reference side as shown below
Transcript

INSERTING RECORDS USING STORED PROCEDURE

In this I have created one table (records) with fields like st_no and st_name in kiran schema.

Then I have created one stored procedure for inserting records into the records table as shown below.

Create or replace procedure insert_records

(st_no records.st_no%type, st_name records.st_name%type )

Is

Begin

Insert into records(st_no,st_name)

Values(st_no,st_name);

End insert_records;

/

Then I have created one project and I have taken one DB Adapter at reference side as shown below

Here, I have selected my schema and after that click on browse fro stored procedure.

Here select stored procedure then click on ok.

After this take one way BPEL at composite level.

Here take invoke activity for calling stored procedure DB Adapter.

After that save all and deploy the project. Check the output is coming or not.


Recommended