oracle11g - Stored Procedure In Oracle 11g database -


i want insert,update,delete , select statement in 1 stored procedure using oracle 11 g database.if 1 know ,please me this.

stored procedure example agent

create or replace procedure get_agent      (v_cur in out sys_refcursor)         begin       open v_cur select * agent;     end get_employees;    insert agent values(:agentid,:agentname)    delete agent agentid=:agentid    update agent set agentname=:agentname agentid=:agentid     update agent set agentname=:agentname,..... rowid=:record_rowid delete agent rowid=:record_rowid 

Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -