Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <oracle.dataaccess.client>
- <settings>
- <add name=""HMS"."PROJECT_INSERT".RefCursor.OUTPARAM" value="implicitRefCursor bindinfo='mode=Output'" />
- <add name=""HMS"."PROTOCOL_INSERT".RefCursor.OUTPARAM" value="implicitRefCursor bindinfo='mode=Output'" />
- <add name=""HMS"."CONTAINER_INSERT".RefCursor.OUTPARAM" value="implicitRefCursor bindinfo='mode=Output'" />
- <add name=""HMS"."CONTONST_INSERT".RefCursor.OUTPARAM" value="implicitRefCursor bindinfo='mode=Output'" />
- <add name=""HMS"."TYPE_INSERT".RefCursor.OUTPARAM" value="implicitRefCursor bindinfo='mode=Output'" />
- <add name=""HMS"."PROPERTY_INSERT".RefCursor.OUTPARAM" value="implicitRefCursor bindinfo='mode=Output'" />
- </settings>
- </oracle.dataaccess.client>
- ===================
- create or replace
- PROCEDURE CONTAINER_INSERT
- (
- ProtocolID_IN IN number,
- ParentcontainerID_IN IN number,
- TypeID_IN IN number,
- ContainerDesc_IN IN varchar2,
- outParam OUT SYS_REFCURSOR
- )
- IS
- ContainerID_OUT NUMBER;
- BEGIN
- INSERT into container (protocolid,parentcontainerid,typeid,descr)
- values (ProtocolID_IN,ParentcontainerID_IN, TypeID_IN, ContainerDesc_IN) returning containerid into ContainerID_OUT;
- OPEN outParam FOR SELECT ContainerID_OUT as "ContainerID_OUT" FROM DUAL;
- END;
- ==================
Advertisement
Add Comment
Please, Sign In to add comment