{"id":653,"date":"2018-12-03T02:10:29","date_gmt":"2018-12-03T08:10:29","guid":{"rendered":"https:\/\/linux.asberry.org\/blog_tech\/?p=653"},"modified":"2024-05-14T09:13:48","modified_gmt":"2024-05-14T14:13:48","slug":"tcc-ora-00936-missing-expression-2","status":"publish","type":"post","link":"https:\/\/asberry.org\/blog_tech\/?p=653","title":{"rendered":"TCC &#8211; ORA-00936: missing expression"},"content":{"rendered":"<p>So it turns out if you try to alias any projection with &#8220;Number&#8221; it will expect something and you&#8217;ll get the SAX error, in the profiler you&#8217;ll get this:<\/p>\n<p>&lt;Code&gt;ServerError&lt;\/Code&gt;<br \/>\n&lt;Subcode&gt;itk:ExportQueryExecutionError&lt;\/Subcode&gt;<br \/>\n&lt;Reason&gt;An error occurred during the query execution: ORA-00936: missing expression&lt;\/Reason&gt;<\/p>\n<p>Not sure if that error is thrown for anything else but this was the fix to my issue.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So it turns out if you try to alias any projection with &#8220;Number&#8221; it will expect something and you&#8217;ll get the SAX error, in the profiler you&#8217;ll get this: &lt;Code&gt;ServerError&lt;\/Code&gt; &lt;Subcode&gt;itk:ExportQueryExecutionError&lt;\/Subcode&gt; &lt;Reason&gt;An error occurred during the query execution: ORA-00936: missing expression&lt;\/Reason&gt; Not sure if that error is thrown for anything else but this was the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[13],"tags":[],"class_list":["post-653","post","type-post","status-publish","format-standard","hentry","category-tcc","author-aron"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p4bBkH-ax","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/posts\/653","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=653"}],"version-history":[{"count":1,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/posts\/653\/revisions"}],"predecessor-version":[{"id":654,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=\/wp\/v2\/posts\/653\/revisions\/654"}],"wp:attachment":[{"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=653"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=653"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/asberry.org\/blog_tech\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=653"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}