{"id":129,"date":"2017-03-26T00:35:21","date_gmt":"2017-03-25T15:35:21","guid":{"rendered":"http:\/\/skyit.biz\/?p=129"},"modified":"2017-03-26T00:51:13","modified_gmt":"2017-03-25T15:51:13","slug":"129","status":"publish","type":"post","link":"https:\/\/skyit.biz\/?p=129","title":{"rendered":"PL\/SQL \u306e\u30b5\u30d6\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9"},"content":{"rendered":"<p>CREATE OR REPLACE PACKAGE RIVUS.OVERLOADING<br \/>\nIS<br \/>\nFUNCTION COMPLEX(N NUMBER)<br \/>\nRETURN NUMBER;<\/p>\n<p>FUNCTION COMPLEX(N PLS_INTEGER)<br \/>\nRETURN NUMBER;<br \/>\nEND;<br \/>\n\/<br \/>\nCREATE OR REPLACE PACKAGE BODY RIVUS.OVERLOADING<br \/>\nIS<br \/>\n&#8212; NUMBER \u7528 \u5e38\u306b\uff10\u3092\u623b\u3059<br \/>\nFUNCTION COMPLEX(N NUMBER)<br \/>\nRETURN NUMBER<br \/>\nIS<br \/>\nBEGIN<br \/>\nRETURN 0;<br \/>\nEND;<br \/>\n&#8212; PLS_INTEGER \u7528 \u5e38\u306b\uff11\u3092\u623b\u3059<br \/>\nFUNCTION COMPLEX(N PLS_INTEGER)<br \/>\nRETURN NUMBER<br \/>\nIS<br \/>\nBEGIN<br \/>\nRETURN 1;<br \/>\nEND;<br \/>\nEND;<br \/>\n\/<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>declare<br \/>\nn number := 1 ;<br \/>\np pls_integer := 2;<br \/>\nbegin<br \/>\ndbms_output.put_line(rivus.overloading.complex(n));<br \/>\ndbms_output.put_line(rivus.overloading.complex(p));<br \/>\nend;<br \/>\n\/<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CREATE OR REPLACE PACKAGE RIVUS.OVERLOADING IS FUNCTION COMPLEX(N NUMBER) RETURN NUMBER; FUNCTION COMPLEX(N PL [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12,13],"tags":[],"class_list":{"0":"post-129","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-oracle","7":"category-plsql"},"_links":{"self":[{"href":"https:\/\/skyit.biz\/index.php?rest_route=\/wp\/v2\/posts\/129","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/skyit.biz\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/skyit.biz\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/skyit.biz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/skyit.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=129"}],"version-history":[{"count":2,"href":"https:\/\/skyit.biz\/index.php?rest_route=\/wp\/v2\/posts\/129\/revisions"}],"predecessor-version":[{"id":131,"href":"https:\/\/skyit.biz\/index.php?rest_route=\/wp\/v2\/posts\/129\/revisions\/131"}],"wp:attachment":[{"href":"https:\/\/skyit.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=129"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/skyit.biz\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=129"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/skyit.biz\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=129"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}