forked from docs/doc-exports
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com> Reviewed-by: Jiang, Beibei <beibei.jiang@t-systems.com> Co-authored-by: Lu, Huayi <luhuayi@huawei.com> Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
27 lines
1.9 KiB
HTML
27 lines
1.9 KiB
HTML
<a name="EN-US_TOPIC_0000001188202584"></a><a name="EN-US_TOPIC_0000001188202584"></a>
|
||
|
||
<h1 class="topictitle1">Creating a Schema for Package</h1>
|
||
<div id="body8662426"><p id="EN-US_TOPIC_0000001188202584__en-us_topic_0238518410_en-us_topic_0237362327_en-us_topic_0202727089_p133891439124715">The pacakge declaration is miagrated as a schema named after the package. The migration can be performed after <strong id="EN-US_TOPIC_0000001188202584__en-us_topic_0237712351_b11951643175019">pkgSchemaNaming</strong> is set to <strong id="EN-US_TOPIC_0000001188202584__en-us_topic_0237712351_b18952204315016">false</strong>.</p>
|
||
<p id="EN-US_TOPIC_0000001188202584__en-us_topic_0238518410_en-us_topic_0237362327_en-us_topic_0202727089_p163890398474"><strong id="EN-US_TOPIC_0000001188202584__en-us_topic_0237712351_b135003655014">Input – Create schema for Package</strong></p>
|
||
<pre class="screen" id="EN-US_TOPIC_0000001188202584__en-us_topic_0238518410_en-us_topic_0237362327_en-us_topic_0202727089_screen153891039114714">CREATE OR REPLACE EDITIONABLE PACKAGE "PACK_DEMO"."PACKAGE_GET_NOVA_INFO" AS
|
||
|
||
TYPE novalistcur is REF CURSOR;
|
||
PROCEDURE getNovaInfo (
|
||
i_appEnShortName IN VARCHAR2,
|
||
o_flag OUT VARCHAR2,
|
||
o_errormsg OUT VARCHAR2,
|
||
o_novalist OUT novalistcur
|
||
);</pre>
|
||
<p id="EN-US_TOPIC_0000001188202584__en-us_topic_0238518410_en-us_topic_0237362327_en-us_topic_0202727089_p1439013399477"><strong id="EN-US_TOPIC_0000001188202584__en-us_topic_0237712351_b11500962504">Output</strong></p>
|
||
<pre class="screen" id="EN-US_TOPIC_0000001188202584__en-us_topic_0238518410_en-us_topic_0237362327_en-us_topic_0202727089_screen939011393479">/*~~PACKAGE_GET_NOVA_INFO~~*/
|
||
CREATE
|
||
SCHEMA PACKAGE_GET_NOVA_INFO
|
||
;</pre>
|
||
</div>
|
||
<div>
|
||
<div class="familylinks">
|
||
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_mt_0156.html">PL/SQL Packages</a></div>
|
||
</div>
|
||
</div>
|
||
|