{"id":2595,"date":"2013-07-18T05:36:57","date_gmt":"2013-07-17T19:36:57","guid":{"rendered":"http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=2595"},"modified":"2013-07-18T05:36:57","modified_gmt":"2013-07-17T19:36:57","slug":"oracle-xml-import-primer-tutorial","status":"publish","type":"post","link":"https:\/\/www.rjmprogramming.com.au\/ITblog\/oracle-xml-import-primer-tutorial\/","title":{"rendered":"Oracle XML Import Primer Tutorial"},"content":{"rendered":"<p><div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Oracle\/XML\/Oracle_XML_Primer-11of.jpg\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Oracle XML Import Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Oracle\/XML\/Oracle_XML_Primer-11of.jpg\" title=\"Oracle XML Import Primer Tutorial\"  \/><\/a><p class=\"wp-caption-text\">Oracle XML Import Primer Tutorial<\/p><\/div><br \/>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Oracle\/XML\/Oracle_XML_Primer-21of.jpg\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Oracle XML Import via sqlldr Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Oracle\/XML\/Oracle_XML_Primer-21of.jpg\" title=\"Oracle XML Import via sqlldr Primer Tutorial\"  \/><\/a><p class=\"wp-caption-text\">Oracle XML Import via sqlldr  Primer Tutorial<\/p><\/div><br \/>\n<div style=\"width: 230px\" class=\"wp-caption alignnone\"><a target=_blank href=\"http:\/\/www.rjmprogramming.com.au\/Oracle\/XML\/Oracle_XML_Primer-31of.jpg\"><img decoding=\"async\" style=\"float:left; border: 15px solid pink;\" alt=\"Oracle XML Import via PL\/SQL  Primer Tutorial\" src=\"http:\/\/www.rjmprogramming.com.au\/Oracle\/XML\/Oracle_XML_Primer-31of.jpg\" title=\"Oracle XML  via PL\/SQL Import Primer Tutorial\" \/><\/a><p class=\"wp-caption-text\">Oracle XML Import via PL\/SQL Primer Tutorial<\/p><\/div><\/p>\n<p>Oracle databases are great in design and in their range of software tools.   The SQL is great and their command line tool SQL*Plus makes the creation of procedures around a job, especially reporting type jobs, very easy.  Oracle SQL Developer is a great user-friendly application to enhance the Oracle suite of software to help maintain Oracle databases.   You can do reports straight from a view of the database with ordinary SQL and if it asks for more drilling down, Oracle has this great procedural SQL language called <a target=_blank href='http:\/\/www.plsql-tutorial.com\/' title='PL\/SQL Tutorial'>PL\/SQL<\/a>.    For fast speeds as well, add <a target=_blank href='http:\/\/srikanthtechnologies.com\/articles\/oracle\/proc\/getstart.html' title='Pro*C Information'>Pro*C<\/a> (<a target=_blank href='http:\/\/www.bioinfo.uh.edu\/cosc3480\/ProC\/ProC_download.htm' title='Link to a Pro*C++ and\/or Pro*C download site'>Pro*C++<\/a> these days) into the mix.   Pro*C(++) embeds SQL code into your C(++) code making use of cursors and other database smarts.   Oracle is such a solid database, different arrangements of which work with large and small amounts of computing &#8220;grunt&#8221;.  We discuss Pro*C in a primer tutorial <a target=_blank title='Pro*C Cursor Primer Tutorial' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=2302'>Oracle Pro*C Cursor Primer Tutorial<\/a>.<\/p>\n<p>This tutorial shows you <a target=_blank href='http:\/\/www.unix.com\/unix-dummies-questions-answers\/1644-sqlplus-shell-scripting.html' title='Some good advice'>SQL*Plus<\/a> with Windows Command Prompt sessions outlining some XML importing functionality involving SQL, sqlldr, PL\/SQL, with supervision via Windows Batch File programs.  With this supervision in mind you might be interested in <a target=_blank title='Oracle and Unix Korn Shell Primer Tutorial' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?p=808'>Oracle and Unix Korn Shell Primer Tutorial<\/a>.<\/p>\n<p>So if you combine these two it is easy to create robust procedures that run really well.<\/p>\n<p>Below is a bit of Oracle history.<\/p>\n<blockquote><p>Oracle Corporation is an American multinational computer technology corporation headquartered in Redwood City, California, The United States. The company specializes in developing and marketing computer hardware systems and enterprise software products \u2013 particularly its own brands of database management systems. Oracle is the third-largest software maker by revenue, after Microsoft and IBM.[3]<\/p>\n<p>The company also builds tools for database development and systems of middle-tier software, enterprise resource planning software (ERP), customer relationship management software (CRM) and supply chain management (SCM) software.<\/p>\n<p>Larry Ellison, a co-founder of Oracle Corporation, has served as Oracle&#8217;s CEO throughout its history. He also served as the Chairman of the Board until his replacement by Jeffrey O. Henley in 2004. On August 22, 2008, the Associated Press ranked Ellison as the top-paid chief executive in the world.[4][5]<\/p><\/blockquote>\n<p>Link to Oracle information &#8230; <a target=_blank title='Oracle information' href='http:\/\/en.wikipedia.org\/wiki\/Oracle_Corporation'>from Wikipedia from which quote above comes<\/a>.<br \/>\nLink to Oracle home &#8230; <a target=_blank title='Oracle PL\/SQL Hello World' href='http:\/\/www.oracle.com\/index.html'>Home of Oracle<\/a>.<br \/>\nLink to Oracle downloads &#8230; <a target=_blank title='Oracle downloads' href='http:\/\/www.oracle.com\/technetwork\/indexes\/downloads\/index.html'>Oracle Downloads<\/a>.<\/p>\n<p>Download Oracle SQL and rename to  &#8230; <a target=_blank title='select_xml.sql' href='http:\/\/www.rjmprogramming.com.au\/Oracle\/XML\/select_xml.sql_GETME'>select_xml.sql<\/a> as required.<br \/>\nDownload Oracle SQL and rename to  &#8230; <a target=_blank title='select_xml.sql' href='http:\/\/www.rjmprogramming.com.au\/Oracle\/XML\/import_xml.sql_GETME'>import_xml.sql<\/a> as required.<br \/>\nDownload Windows Batch File and rename to  &#8230; <a target=_blank title='load.bat' href='http:\/\/www.rjmprogramming.com.au\/Oracle\/XML\/load.bat_GETME'>load.bat<\/a> as required.<br \/>\nDownload Windows Batch File and rename to  &#8230; <a target=_blank title='load_pl.bat' href='http:\/\/www.rjmprogramming.com.au\/Oracle\/XML\/load_pl.bat_GETME'>load_pl.bat<\/a> as required.<\/p>\n<p>Download this input XML used in this tutorial and rename to <a target=_blank title='XML' href='http:\/\/www.rjmprogramming.com.au\/MySql\/XML\/country_state.xml_GETME'>country_state.xml<\/a> if it interests you.<\/p>\n<p>Other tutorials that use very similar data can be found <a target=_blank title='country_state.xml tutorials' href='http:\/\/www.rjmprogramming.com.au\/wordpress\/?s=country_state.xml'>here<\/a>.<\/p>\n<p>The links below were useful for this tutorial:<\/p>\n<ul>\n<li><a target=_blank title='PL\/SQL Access Using DBMS_XDB' href='http:\/\/docs.oracle.com\/cd\/B19306_01\/appdev.102\/b14259\/xdb19rpl.htm'>PL\/SQL Access Using DBMS_XDB<\/a><\/li>\n<li><a target=_blank title='Importing XML into oracle 11g database' href='https:\/\/forums.oracle.com\/thread\/2427208'>Importing XML into oracle 11g database<\/a><\/li>\n<li><a target=_blank title='The Oracle BFILENAME Function ' href='http:\/\/psoug.org\/definition\/BFILENAME.htm'>The Oracle BFILENAME Function <\/a><\/li>\n<li><a target=_blank title='ORA-22285: non-existent directory\/file FILEOPEN operation for upload file?' href='https:\/\/forums.oracle.com\/thread\/356057'>ORA-22285: non-existent directory\/file FILEOPEN operation for upload file?<\/a><\/li>\n<\/ul>\n<p>If this was interesting you may be interested in <a title='Click here to see topics in which you might be interested' href='#d2595' onclick='var dv=document.getElementById(\"d2595\"); dv.innerHTML = \"&lt;iframe width=670 height=600 src=\" + \"http:\/\/www.rjmprogramming.com.au\/wordpress\/?cat=47\" + \"&gt;&lt;\/iframe&gt;\"; dv.style.display = \"block\";'>this<\/a> too.<\/p>\n<div id='d2595' style='display: none; border-left: 2px solid green; border-top: 2px solid green;'><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Oracle databases are great in design and in their range of software tools. The SQL is great and their command line tool SQL*Plus makes the creation of procedures around a job, especially reporting type jobs, very easy. Oracle SQL Developer &hellip; <a href=\"https:\/\/www.rjmprogramming.com.au\/ITblog\/oracle-xml-import-primer-tutorial\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9,12,29,37],"tags":[602,887,1319,1480],"class_list":["post-2595","post","type-post","status-publish","format-standard","hentry","category-database","category-elearning","category-operating-system","category-tutorials","tag-import","tag-oracle","tag-tutorial","tag-xml"],"_links":{"self":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/2595"}],"collection":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/comments?post=2595"}],"version-history":[{"count":0,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/posts\/2595\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/media?parent=2595"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/categories?post=2595"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rjmprogramming.com.au\/ITblog\/wp-json\/wp\/v2\/tags?post=2595"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}