Title: ORA-00922: 选项缺失或无效 · Issue #432 · APIJSON/APIJSON · GitHub
Open Graph Title: ORA-00922: 选项缺失或无效 · Issue #432 · APIJSON/APIJSON
X Title: ORA-00922: 选项缺失或无效 · Issue #432 · APIJSON/APIJSON
Description: 环境信息 系统: Windows 11 JDK: 1.8.0_17 数据库: Oracle 12C APIJSON: 5.1.0 问题描述 查询时使用性能分析关键字 @explain 报错 查询参数 { "Access": { "id": 1 }, "@explain": true } 错误信息 "ORA-00922: 选项缺失或无效" 生成的 SQL 如下: SET STATISTICS PROFILE ON SELECT * FROM (SELECT "Access...
Open Graph Description: 环境信息 系统: Windows 11 JDK: 1.8.0_17 数据库: Oracle 12C APIJSON: 5.1.0 问题描述 查询时使用性能分析关键字 @explain 报错 查询参数 { "Access": { "id": 1 }, "@explain": true } 错误信息 "ORA-00922: 选项缺失或无效" 生成的 SQL 如下: SET STATISTICS ...
X Description: 环境信息 系统: Windows 11 JDK: 1.8.0_17 数据库: Oracle 12C APIJSON: 5.1.0 问题描述 查询时使用性能分析关键字 @explain 报错 查询参数 { "Access": { "id": 1 }, "@explain": true } 错误信息 "ORA-00922: 选...
Opengraph URL: https://github.com/APIJSON/APIJSON/issues/432
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ORA-00922: 选项缺失或无效","articleBody":"**环境信息**\r\n - 系统: Windows 11\r\n - JDK: 1.8.0_17\r\n - 数据库: Oracle 12C\r\n - APIJSON: 5.1.0\r\n\r\n**问题描述**\r\n\r\n查询时使用性能分析关键字 `@explain` 报错\r\n\r\n查询参数\r\n```json\r\n{\r\n \"Access\": {\r\n \"id\": 1\r\n },\r\n \"@explain\": true\r\n}\r\n```\r\n\r\n**错误信息**\r\n\r\n\"ORA-00922: 选项缺失或无效\"\r\n\r\n生成的 SQL 如下:\r\n```sql\r\nSET STATISTICS PROFILE ON SELECT * FROM (SELECT \"Access\".*, ROWNUM RN FROM (SELECT * FROM \"CRUD_ACCESS\" WHERE ( (\"id\" = 1) ) ) \"Access\" WHERE ROWNUM \u003c= 1) WHERE RN > 0\r\n```\r\n如上sql在oracle中手动执行也报 \u003c选项缺失或无效> 错误,怀疑 oracle 不支持 `SET STATISTICS PROFILE ON` 参数\r\n\r\n是不是我oracle哪里没设置对或者其他问题?\r\n\r\n\r\n\r\n","author":{"url":"https://github.com/ifooling","@type":"Person","name":"ifooling"},"datePublished":"2022-08-08T08:15:37Z","url":"https://github.com/APIJSON/APIJSON/issues/432"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:645e7120-b77c-fc88-5fab-c48d70fa9984 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EC4A:361535:313003:440A35:6AFCAF4A |
| html-safe-nonce | 9f718d3f79ccec018290ea5a9120e82da604d28836fa3a8b1407605020ec9607 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQzRBOjM2MTUzNTozMTMwMDM6NDQwQTM1OjZBRkNBRjRBIiwidmlzaXRvcl9pZCI6IjEyNTI4NzM2MjAyNDIwODM2NTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | e97310465416218c19203eb006ffbc52d9442e876c379bf4bdd4f83663cb0cf0 |
| hovercard-subject-tag | issue:1331502485 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/APIJSON/APIJSON/432/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2adbbf7cd51f4e11c41833e0212ef696f6481cab69209625f0f4e66dad949f38/APIJSON/APIJSON/issues/432 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2adbbf7cd51f4e11c41833e0212ef696f6481cab69209625f0f4e66dad949f38/APIJSON/APIJSON/issues/432 |
| og:image:alt | 环境信息 系统: Windows 11 JDK: 1.8.0_17 数据库: Oracle 12C APIJSON: 5.1.0 问题描述 查询时使用性能分析关键字 @explain 报错 查询参数 { "Access": { "id": 1 }, "@explain": true } 错误信息 "ORA-00922: 选项缺失或无效" 生成的 SQL 如下: SET STATISTICS ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ifooling |
| hostname | github.com |
| expected-hostname | github.com |
| None | e3084aead77cbcb4f4904fba53851fa1a0546b0dec3619bd250815e72588dc6d |
| turbo-cache-control | no-preview |
| go-import | github.com/APIJSON/APIJSON git https://github.com/APIJSON/APIJSON.git |
| octolytics-dimension-user_id | 41146037 |
| octolytics-dimension-user_login | APIJSON |
| octolytics-dimension-repository_id | 74359442 |
| octolytics-dimension-repository_nwo | APIJSON/APIJSON |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 74359442 |
| octolytics-dimension-repository_network_root_nwo | APIJSON/APIJSON |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5410e4bebd3e45b138c853ecef3992279d86d5af |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width