{"id":277,"date":"2012-09-19T21:01:20","date_gmt":"2012-09-19T21:01:20","guid":{"rendered":"http:\/\/62.131.51.129\/wordpress\/?p=277"},"modified":"2012-09-19T21:01:20","modified_gmt":"2012-09-19T21:01:20","slug":"a-set-of-tables-and-content","status":"publish","type":"post","link":"http:\/\/archief.van-maanen.com\/?p=277","title":{"rendered":"A set of tables and content"},"content":{"rendered":"<p>Yesterday, I encountered a small but convenient script that creates and loads a set of tables in an Oracle environment. It was part of an Informatica training, so I have to give the credits to those guys. <a href=\"http:\/\/62.131.51.129\/wp-content\/uploads\/2012\/09\/smpl_ora.sql\" title=\"Script\" target=\"_blank\" rel=\"noopener\">Click here to get the Script<\/a><br \/>\nI changed a few things in the script but not much. The major thing, I changed was to replace the insert of dates (done via a string like &#8216;1998-05-21&#8217;) into  an insert via to_date(&#8216;1998-05-21&#8242;,&#8217;YYYY-MM-DD&#8217;). This makes the script independent from local settings. I admit: it is a little detail but I believed it is a minor improvement.<\/p>\n<p>The nice thing about these type of scripts is that someone who wants to get acquainted with a database is given a head start by the provision of a set of tables. One could directly play with relationships, inserts of new records, deletes etc.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Yesterday, I encountered a small but convenient script that creates and loads a set of tables in an Oracle environment. It was part of an Informatica training, so I have to give the credits to those guys. Click here to get the Script I changed a few things in the script but not much. The [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-277","post","type-post","status-publish","format-standard","hentry","category-nice-to-know"],"_links":{"self":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/posts\/277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=277"}],"version-history":[{"count":0,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=\/wp\/v2\/posts\/277\/revisions"}],"wp:attachment":[{"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=277"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/archief.van-maanen.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}