Blaine Carter bae5cbe76a Modified the HoL for Collaborate (#169)
Modified samples and instructions to import common connection information from db_config.py or db_config.sql in order to make setup a bit more generic.
2018-04-20 15:35:17 -07:00

22 lines
610 B
SQL

-------------------------------------------------------------------------------
-- plsql_proc.sql (Section 5.2)
-------------------------------------------------------------------------------
/*-----------------------------------------------------------------------------
* Copyright 2017, Oracle and/or its affiliates. All rights reserved.
*---------------------------------------------------------------------------*/
set echo on
@@db_config.sql
connect &user/&pw@&connect_string
create or replace procedure myproc(v1_p in number, v2_p out number) as
begin
v2_p := v1_p * 2;
end;
/
show errors
exit