[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-573372-105":53,"doc-detail-573372-en":126},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":119,"head_meta":121,"extra_data":123,"updated_unix":125},105,"en","plsql-basics-unit-iii-plsql-basics-rdbms-unit-iii","PL/SQL Basics - Unit-III - PL/SQL Basics (RDBMS Unit-III)","","PL/SQL Basics explains PL/SQL as Oracle’s procedural extension of SQL, designed to enhance SQL capabilities with portability, high-performance transaction processing, and an OS-independent interpreted environment. The content covers key features such as tight SQL integration, extensive error checking, multiple data types, structured programming via functions and procedures, and support for object-oriented and web application development. It further details the core block structure (DECLARE, BEGIN/END, EXCEPTION), identifier rules, commenting syntax, program units, and essential data type categories like scalar, LOB, composite, and reference.",{"@graph":63,"@context":118},[64,80,101],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":51,"@type":70,"position":76},"https://docshare.wps.com/template/general/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/plsql-basics-unit-iii-plsql-basics-rdbms-unit-iii/573372/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/plsql-basics-unit-iii-plsql-basics-rdbms-unit-iii/573372.png","ImageObject",442,249,{"name":88,"@type":89},"Levi","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-16","2026-10-14",true,{"@type":98,"interactionType":99,"userInteractionCount":76},"InteractionCounter",{"@type":100},"ViewAction",{"@type":102,"mainEntity":103},"FAQPage",[104,110,114],{"name":105,"@type":106,"acceptedAnswer":107},"What is PL/SQL and how is it related to SQL?","Question",{"text":108,"@type":109},"PL/SQL combines SQL with procedural programming features. It is tightly integrated with SQL so PL/SQL blocks can use static and dynamic SQL.","Answer",{"name":111,"@type":106,"acceptedAnswer":112},"What are the three parts of a basic PL/SQL program block?",{"text":113,"@type":109},"A PL/SQL block consists of DECLARE (optional), BEGIN ... END (mandatory executable section), and EXCEPTION (optional) for handling errors.",{"name":115,"@type":106,"acceptedAnswer":116},"What rules apply to PL/SQL identifiers?",{"text":117,"@type":109},"Identifiers can be letters followed by letters, numerals, dollar signs, underscores, and number signs, and must not exceed 30 characters. Reserved words cannot be used as identifiers.","https://schema.org",{"og:url":78,"og:type":120,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":122,"canonical":78},"index,follow",{"doc_id":124,"site_id":56},573372,1792100120,{"code":4,"msg":5,"data":127},{"doc_id":124,"user_id":128,"nickname":88,"user_avatar":129,"doc_module":9,"category_id":50,"category_name":51,"doc_title":59,"doc_description":61,"doc_content":130,"file_id":131,"file_url":132,"file_type":133,"file_size":134,"view_count":76,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":45,"language":135,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":136,"faqs":137,"seo_title":138,"seo_description":61,"update_tm":139,"read_time":140},7971461740909,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","PL/SQL Basics  \nPL/SQL is a combination of SQL along with the procedural features of programming languages. It was developed by Oracle Corporation in the early 90's to enhance the capabilities of SQL. PL/SQL is one of three key programming languages embedded in the Oracle Database, along with SQL itself and Java.  \n􀂷 PL/SQL is a completely portable, high-performance transaction-processing language.  \n􀂷 PL/SQL provides a built-in, interpreted and OS independent programming environment.  \n􀂷 PL/SQL can also directly be called from the command-line SQL*Plus interface.  \n􀂷 Direct call can also be made from external programming language calls to database.  \n􀂷 PL/SQL's general syntax is based on that of ADA and Pascal programming language.  \nFeatures of PL/SQL  \nPL/SQL has the following features  \n􀂷 PL/SQL is tightly integrated with SQL.  \n􀂷 It offers extensive error checking.  \n􀂷 It offers numerous data types.  \n􀂷 It offers a variety of programming structures.  \n􀂷 It supports structured programming through functions and procedures.  \n􀂷 It supports object-oriented programming.  \n􀂷 It supports the development of web applications and server pages.  \nAdvantages of PL/SQL  \nPL/SQL has the following advantages −  \n􀂷 SQL is the standard database language and PL/SQL is strongly integrated with SQL. PL/SQL supports both static and dynamic SQL. Static SQL supports DML operations and transaction control from PL/SQL block. In Dynamic SQL, SQL allows embedding DDL statements in PL/SQL blocks.  \n􀂷 PL/SQL allows sending an entire block of statements to the database at one time. This reduces network traffic and provides high performance for the applications.  \n􀂷 PL/SQL gives high productivity to programmers as it can query, transform, and update data in a database.  \n􀂷 PL/SQL saves time on design and debugging by strong features, such as exception handling, encapsulation, data hiding, and object-oriented data types.  \n􀂷 Applications written in PL/SQL are fully portable.  \n􀂷 PL/SQL provides high security level.  \n􀂷 PL/SQL provides access to predefined SQL packages.  \n􀂷 PL/SQL provides support for Object-Oriented Programming.  \n􀂷 PL/SQL provides support for developing Web Applications and Server Pages.  \nPL/SQL-Basic Syntax  \nPL/SQL programs are divided and written in logical blocks of code. Each block consists of three sub-parts  \nDeclarations  \nThis section starts with the keyword DECLARE. It is an optional section and defines all variables, cursors, subprograms, and other elements to be used in the program.  \nExecutable Commands  \nThis section is enclosed between the keywords BEGIN and END and it is a mandatory section. It consists of the executable PL/SQL statements of the program. It should have at least one executable line of code, which may be just a NULL command to indicate that nothing should be executed.  \nException Handling  \nThis section starts with the keyword EXCEPTION. This optional section contains exception(s) that handle errors in the program.  \nDECLARE  \n\u003Cdeclarations section>  \nBEGIN  \n\u003Cexecutable command(s)>  \nEXCEPTION  \n\u003Cexception handling>  \nEND;  \nThe 'Hello World' Example DECLARE  \nmessage varchar2(20):= 'Hello, World!';  \nBEGIN  \ndbms_output.put_line(message);  \nEND;/  \nThe PL/SQL Identifiers  \nPL/SQL identifiers are constants, variables, exceptions, procedures, cursors, and reserved words. The identifiers consist of a letter optionally followed by more letters, numerals, dollar signs, underscores, and number signs and should not exceed 30 characters.  \nThe PL/SQL Comments  \nThe PL/SQL supports single-line and multi-line comments. All characters available inside any comment are ignored by the PL/SQL compiler. The PL/SQL single-line comments start with the delimiter --(double hyphen) and multi-line comments are enclosed by /* and */ .  \nDECLARE  \n--variable declaration  \nmessage varchar2(20):= 'Hello, World!';  \nBEGIN  \n/*  \n* PL/SQL executable statement(s)*/  \ndbms_output.put_line(message);  \nEND;  \n/  \nWhen the above code ","cbCaitlUt5bLX9cb","https://ap.wps.com/l/cbCaitlUt5bLX9cb","pdf",1494244,"English","# PL/SQL Basics\n## Features and Advantages of PL/SQL\n## PL/SQL Basic Syntax\n## Hello World Example\n## PL/SQL Identifiers and Comments\n## PL/SQL Program Units\n## PL/SQL Data Types","[{\"question\":\"What is PL/SQL and how is it related to SQL?\",\"answer\":\"PL/SQL combines SQL with procedural programming features. It is tightly integrated with SQL so PL/SQL blocks can use static and dynamic SQL.\"},{\"question\":\"What are the three parts of a basic PL/SQL program block?\",\"answer\":\"A PL/SQL block consists of DECLARE (optional), BEGIN ... END (mandatory executable section), and EXCEPTION (optional) for handling errors.\"},{\"question\":\"What rules apply to PL/SQL identifiers?\",\"answer\":\"Identifiers can be letters followed by letters, numerals, dollar signs, underscores, and number signs, and must not exceed 30 characters. Reserved words cannot be used as identifiers.\"}]","PL/SQL Basics - Unit-III - PL/SQL Basics (RDBMS Unit-III) | PDF",1791938471,7]