{"id":17147,"date":"2020-10-11T12:25:03","date_gmt":"2020-10-11T12:25:03","guid":{"rendered":"https:\/\/dbtut.com\/?p=17147"},"modified":"2020-10-11T15:25:16","modified_gmt":"2020-10-11T15:25:16","slug":"oracle-pl-sql-procedures-and-procedure-parameters","status":"publish","type":"post","link":"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/","title":{"rendered":"Oracle PL\/SQL Procedures and Procedure Parameters"},"content":{"rendered":"<p>This article contains information about PL\/SQL Procedures and parameters in procedures such as IN, OUT, IN OUT.<\/p>\n<h2>What is Procedure in Oracle?<\/h2>\n<p>PL\/SQL Procedures are the structures that keep Oracle PL\/SQL commands under a name and run them when needed.<\/p>\n<p>Procedures are compiled the first time they run and a query plan is created.<\/p>\n<p>When you run stored procedures next time, they use this query plan.<\/p>\n<p>The keywords to be used when creating the procedure are as follows.<\/p>\n<pre class=\"lang:default decode:true \">CREATE [OR REPLACE] PROCEDURE procedure_name\r\n[(parameter_name [IN | OUT | IN OUT] data_type [, ...])]\r\n{IS | AS}\r\nBEGIN\r\n    -- Commands\r\nEND procedure_name;<\/pre>\n<p>The REPLACE keyword included in the command is not mandatory. However, it would be beneficial to use it as it will throw an error if you try to recreate an existing procedure. Let&#8217;s create a sample procedure.<\/p>\n<pre class=\"lang:default decode:true \">SET SERVEROUTPUT ON;\r\nCREATE OR REPLACE PROCEDURE First_SP\r\nAS\r\nBEGIN\r\n   DBMS_OUTPUT.put_line('Hello Oracle!');\r\nEND;<\/pre>\n<p>Once the procedure is created, we can run it as follows.<\/p>\n<pre class=\"lang:default decode:true\">EXECUTE First_SP<\/pre>\n<pre class=\"lang:default decode:true\">EXEC First_SP<\/pre>\n<p>The commands in the procedure will be executed each time the procedure is run.<\/p>\n<h2>Procedure Parameters in Oracle<\/h2>\n<p>Another important feature of the procedure structure is the possibility to take parameters.<\/p>\n<h3>IN Parameter in PL\/SQL Procedures<\/h3>\n<p>If the parameter is marked with IN, the parameter is passed only to the procedure.<\/p>\n<h3>OUT Parameter in PL\/SQL Procedures<\/h3>\n<p>If the parameter is marked OUT, the parameter sends out data.<\/p>\n<h3>IN OUT Parameter in PL\/SQL Procedures<\/h3>\n<p>If the parameter is marked with IN OUT, it takes both IN and OUT.<\/p>\n<h2>PL\/SQL Procedure example with parameters<\/h2>\n<p>In the example below, the loop start and end values are taken as parameters.<\/p>\n<pre class=\"lang:default decode:true\">SET SERVEROUTPUT ON;\r\nCREATE OR REPLACE PROCEDURE MY_LOOP (\r\n    START_VALUE IN PLS_INTEGER,\r\n    END_VALUE IN PLS_INTEGER\r\n) AS\r\nBEGIN\r\n    FOR v_number IN START_VALUE .. END_VALUE LOOP\r\n        DBMS_OUTPUT.put_line('Command executed ' ||v_number || ' times.');\r\n    END LOOP;\r\nEND;<\/pre>\n<pre class=\"lang:default decode:true\">EXECUTE MY_LOOP(45,50)<\/pre>\n<p>SYS.all_procedures table can be used to get information about the created procedures.<\/p>\n<pre class=\"lang:default decode:true\">SELECT * FROM SYS.all_procedures WHERE OWNER = 'USER_NAME';<\/pre>\n<p>The following command is used to delete the created procedure.<\/p>\n<pre class=\"lang:default decode:true\">DROP PROCEDURE procedure_name;<\/pre>\n<pre class=\"lang:default decode:true\">DROP PROCEDURE MY_LOOP;<\/pre>\n<p>The reason for using the procedures is to ensure that the written commands are securely stored in the database management system.<\/p>\n<p>Also, the created procedures will work better because they are compiled beforehand.<\/p>\n<p>When data is received from a table with any programming language, the SQL sentence must first be written and sent to the database.<\/p>\n<p>The sent SQL statement is executed after it is checked by the database management system.<\/p>\n<p>However, since the procedures are compiled beforehand, it is operated without recompilation, thus ensuring performance.<\/p>\n<p>The procedures are similar to function structures, causing confusion.<\/p>\n<p>While procedures are not required to return values, functions must return values.<\/p>\n<p>Procedures are generally used in CRUD processes.<\/p>\n<p>You can find more detailed information about below topics in the below link.<\/p>\n<p><strong><a href=\"https:\/\/dbtut.com\/index.php\/2020\/03\/19\/pl-sql-tutorial\/\" target=\"_blank\" rel=\"noopener noreferrer\">PL\/SQL Tutorial<\/a><\/strong><\/p>\n<p>You will find below topics in this article.<\/p>\n<ol>\n<li><a href=\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/what-is-pl-sql\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>What is PL\/SQL<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-data-types-and-variables-and-literals\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Oracle PL\/SQL Data Types and Variables and Literals<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-operators\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Oracle PL\/SQL Operators<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-conditional-statements\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Oracle PL\/SQL Conditional Statements<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-loops\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Oracle PL\/SQL Loops<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Oracle PL\/SQL Procedures and Procedure Parameters<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-functions\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Oracle PL\/SQL Functions<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-cursor\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Oracle PL\/SQL Cursor<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-records\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Oracle PL\/SQL Records<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-exception\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Oracle PL\/SQL Exception<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-trigger\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Oracle PL\/SQL Trigger<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-packages\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Oracle PL\/SQL Packages<\/strong><\/a><\/li>\n<li><a href=\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-collections\/\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>Oracle PL\/SQL Collections<\/strong><\/a><\/li>\n<\/ol>\n<p>You can find more information about procedures at <a href=\"https:\/\/docs.oracle.com\/cd\/B19306_01\/B14251_01\/adfns_packages.htm\" target=\"_blank\" rel=\"noopener noreferrer\">docs.oracle.com<\/a><\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_17147\" class=\"pvc_stats all  \" data-element-id=\"17147\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>This article contains information about PL\/SQL Procedures and parameters in procedures such as IN, OUT, IN OUT. What is Procedure in Oracle? PL\/SQL Procedures are the structures that keep Oracle PL\/SQL commands under a name and run them when needed. Procedures are compiled the first time they run and a query plan is created. When &hellip;<\/p>\n<div class=\"pvc_clear\"><\/div>\n<p id=\"pvc_stats_17147\" class=\"pvc_stats all  \" data-element-id=\"17147\" style=\"\"><i class=\"pvc-stats-icon medium\" aria-hidden=\"true\"><svg aria-hidden=\"true\" focusable=\"false\" data-prefix=\"far\" data-icon=\"chart-bar\" role=\"img\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" viewBox=\"0 0 512 512\" class=\"svg-inline--fa fa-chart-bar fa-w-16 fa-2x\"><path fill=\"currentColor\" d=\"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z\" class=\"\"><\/path><\/svg><\/i> <img loading=\"lazy\" decoding=\"async\" width=\"16\" height=\"16\" alt=\"Loading\" src=\"https:\/\/dbtut.com\/wp-content\/plugins\/page-views-count\/ajax-loader-2x.gif\" border=0 \/><\/p>\n<div class=\"pvc_clear\"><\/div>\n","protected":false},"author":485,"featured_media":17148,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[4],"tags":[9274,9272,9273,10079,10077,10078],"class_list":["post-17147","post","type-post","status-publish","format-standard","has-post-thumbnail","","category-oracle","tag-in-out-parameter-in-pl-sql-procedures","tag-in-parameter-in-pl-sql-procedures","tag-out-parameter-in-pl-sql-procedures","tag-pl-sql-procedure-example-with-parameters","tag-procedure-parameters-in-oracle","tag-what-is-procedure-in-oracle"],"aioseo_notices":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Oracle PL\/SQL Procedures and Procedure Parameters - Database Tutorials<\/title>\n<meta name=\"description\" content=\"This article contains information about PL\/SQL Procedures and parameters in procedures such as IN, OUT, IN OUT and examples.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Oracle PL\/SQL Procedures and Procedure Parameters - Database Tutorials\" \/>\n<meta property=\"og:description\" content=\"This article contains information about PL\/SQL Procedures and parameters in procedures such as IN, OUT, IN OUT and examples.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/\" \/>\n<meta property=\"og:site_name\" content=\"Database Tutorials\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-11T12:25:03+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-10-11T15:25:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/10\/plsqlprocedures.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"820\" \/>\n\t<meta property=\"og:image:height\" content=\"522\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Yusuf SEZER\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Yusuf SEZER\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/\"},\"author\":{\"name\":\"Yusuf SEZER\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/be8bf54494b6a89e626cbed2c940599a\"},\"headline\":\"Oracle PL\/SQL Procedures and Procedure Parameters\",\"datePublished\":\"2020-10-11T12:25:03+00:00\",\"dateModified\":\"2020-10-11T15:25:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/\"},\"wordCount\":480,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/10\/plsqlprocedures.jpg\",\"keywords\":[\"IN OUT Parameter in PL\/SQL Procedures\",\"IN Parameter in PL\/SQL Procedures\",\"OUT Parameter in PL\/SQL Procedures\",\"pl\/sql procedure example with parameters\",\"Procedure Parameters in Oracle\",\"What is Procedure in Oracle?\"],\"articleSection\":[\"ORACLE\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/\",\"url\":\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/\",\"name\":\"Oracle PL\/SQL Procedures and Procedure Parameters - Database Tutorials\",\"isPartOf\":{\"@id\":\"https:\/\/dbtut.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/10\/plsqlprocedures.jpg\",\"datePublished\":\"2020-10-11T12:25:03+00:00\",\"dateModified\":\"2020-10-11T15:25:16+00:00\",\"description\":\"This article contains information about PL\/SQL Procedures and parameters in procedures such as IN, OUT, IN OUT and examples.\",\"breadcrumb\":{\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/#primaryimage\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/10\/plsqlprocedures.jpg\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/10\/plsqlprocedures.jpg\",\"width\":820,\"height\":522},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/dbtut.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Oracle PL\/SQL Procedures and Procedure Parameters\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/dbtut.com\/#website\",\"url\":\"https:\/\/dbtut.com\/\",\"name\":\"Database Tutorials\",\"description\":\"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux\",\"publisher\":{\"@id\":\"https:\/\/dbtut.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/dbtut.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/dbtut.com\/#organization\",\"name\":\"dbtut\",\"url\":\"https:\/\/dbtut.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"contentUrl\":\"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg\",\"width\":223,\"height\":36,\"caption\":\"dbtut\"},\"image\":{\"@id\":\"https:\/\/dbtut.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/be8bf54494b6a89e626cbed2c940599a\",\"name\":\"Yusuf SEZER\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/dbtut.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/19675b3db2d4ce370af047187123e2055a2b254ede3f0e7d9bc934da478146f7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/19675b3db2d4ce370af047187123e2055a2b254ede3f0e7d9bc934da478146f7?s=96&d=mm&r=g\",\"caption\":\"Yusuf SEZER\"},\"url\":\"https:\/\/dbtut.com\/index.php\/author\/yusufsezer\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Oracle PL\/SQL Procedures and Procedure Parameters - Database Tutorials","description":"This article contains information about PL\/SQL Procedures and parameters in procedures such as IN, OUT, IN OUT and examples.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/","og_locale":"en_US","og_type":"article","og_title":"Oracle PL\/SQL Procedures and Procedure Parameters - Database Tutorials","og_description":"This article contains information about PL\/SQL Procedures and parameters in procedures such as IN, OUT, IN OUT and examples.","og_url":"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/","og_site_name":"Database Tutorials","article_published_time":"2020-10-11T12:25:03+00:00","article_modified_time":"2020-10-11T15:25:16+00:00","og_image":[{"width":820,"height":522,"url":"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/10\/plsqlprocedures.jpg","type":"image\/jpeg"}],"author":"Yusuf SEZER","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Yusuf SEZER","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/#article","isPartOf":{"@id":"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/"},"author":{"name":"Yusuf SEZER","@id":"https:\/\/dbtut.com\/#\/schema\/person\/be8bf54494b6a89e626cbed2c940599a"},"headline":"Oracle PL\/SQL Procedures and Procedure Parameters","datePublished":"2020-10-11T12:25:03+00:00","dateModified":"2020-10-11T15:25:16+00:00","mainEntityOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/"},"wordCount":480,"commentCount":0,"publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/10\/plsqlprocedures.jpg","keywords":["IN OUT Parameter in PL\/SQL Procedures","IN Parameter in PL\/SQL Procedures","OUT Parameter in PL\/SQL Procedures","pl\/sql procedure example with parameters","Procedure Parameters in Oracle","What is Procedure in Oracle?"],"articleSection":["ORACLE"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/","url":"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/","name":"Oracle PL\/SQL Procedures and Procedure Parameters - Database Tutorials","isPartOf":{"@id":"https:\/\/dbtut.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/#primaryimage"},"image":{"@id":"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/#primaryimage"},"thumbnailUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/10\/plsqlprocedures.jpg","datePublished":"2020-10-11T12:25:03+00:00","dateModified":"2020-10-11T15:25:16+00:00","description":"This article contains information about PL\/SQL Procedures and parameters in procedures such as IN, OUT, IN OUT and examples.","breadcrumb":{"@id":"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/#primaryimage","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/10\/plsqlprocedures.jpg","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2020\/10\/plsqlprocedures.jpg","width":820,"height":522},{"@type":"BreadcrumbList","@id":"https:\/\/dbtut.com\/index.php\/2020\/10\/11\/oracle-pl-sql-procedures-and-procedure-parameters\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dbtut.com\/"},{"@type":"ListItem","position":2,"name":"Oracle PL\/SQL Procedures and Procedure Parameters"}]},{"@type":"WebSite","@id":"https:\/\/dbtut.com\/#website","url":"https:\/\/dbtut.com\/","name":"Database Tutorials","description":"MSSQL, Oracle, PostgreSQL, MySQL, MariaDB, DB2, Sybase, Teradata, Big Data, NOSQL, MongoDB, Couchbase, Cassandra, Windows, Linux","publisher":{"@id":"https:\/\/dbtut.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dbtut.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/dbtut.com\/#organization","name":"dbtut","url":"https:\/\/dbtut.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/","url":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","contentUrl":"https:\/\/dbtut.com\/wp-content\/uploads\/2021\/02\/dbtutlogo.jpg","width":223,"height":36,"caption":"dbtut"},"image":{"@id":"https:\/\/dbtut.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/dbtut.com\/#\/schema\/person\/be8bf54494b6a89e626cbed2c940599a","name":"Yusuf SEZER","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dbtut.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/19675b3db2d4ce370af047187123e2055a2b254ede3f0e7d9bc934da478146f7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/19675b3db2d4ce370af047187123e2055a2b254ede3f0e7d9bc934da478146f7?s=96&d=mm&r=g","caption":"Yusuf SEZER"},"url":"https:\/\/dbtut.com\/index.php\/author\/yusufsezer\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/17147","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/users\/485"}],"replies":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/comments?post=17147"}],"version-history":[{"count":0,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/posts\/17147\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media\/17148"}],"wp:attachment":[{"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/media?parent=17147"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/categories?post=17147"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dbtut.com\/index.php\/wp-json\/wp\/v2\/tags?post=17147"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}