{"id":1780,"date":"2015-09-10T14:26:46","date_gmt":"2015-09-10T12:26:46","guid":{"rendered":"http:\/\/www.switchbl8.nl\/blog\/?p=1780"},"modified":"2015-11-27T16:02:43","modified_gmt":"2015-11-27T15:02:43","slug":"acting-like-you-are-from-oracle","status":"publish","type":"post","link":"https:\/\/www.switchbl8.nl\/blog\/2015\/09\/acting-like-you-are-from-oracle\/","title":{"rendered":"Acting like you are from Oracle"},"content":{"rendered":"<p>The default Oracle 12c database installation (that a lot of developers will use without going into the advanced setup) is a bit strict. For instance you can&#8217;t just create users that don&#8217;t comply to the user naming policies. But what about &#8220;sys&#8221; or &#8220;system&#8221;? They don&#8217;t comply either!<\/p>\n<p>Add the following to your script:<\/p>\n<p><code>alter session set \"_ORACLE_SCRIPT\"=true;<\/code><\/p>\n<p>Things should work now. Basically you&#8217;re acting like you&#8217;re an Oracle supplied script now. And we know the rules don&#8217;t apply to Oracle, right?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The default Oracle 12c database installation (that a lot of developers will use without going into the advanced setup) is a bit strict. For instance you can&#8217;t just create users that don&#8217;t comply to the user naming policies. But what about &#8220;sys&#8221; or &#8220;system&#8221;? They don&#8217;t comply either! Add the following to your script: alter <a href='https:\/\/www.switchbl8.nl\/blog\/2015\/09\/acting-like-you-are-from-oracle\/' class='excerpt-more'>[&#8230;]<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[132,81],"class_list":["post-1780","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-oracle","tag-tips","category-1-id","post-seq-1","post-parity-odd","meta-position-corners","fix"],"_links":{"self":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/1780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/comments?post=1780"}],"version-history":[{"count":1,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/1780\/revisions"}],"predecessor-version":[{"id":1781,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/posts\/1780\/revisions\/1781"}],"wp:attachment":[{"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/media?parent=1780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/categories?post=1780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.switchbl8.nl\/blog\/wp-json\/wp\/v2\/tags?post=1780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}