error with queries without a FROM clause in oracle

Đang mở
#1,194 4 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
rust, sql
Lĩnh vực
database

Hướng nghiên cứu

The issue identifies SQL execution in index.sql and Oracle's requirement to use FROM DUAL, but does not name a SQLPage source file or test. Start by reading the discussion linked from the issue and tracing how SQL statements are executed for Oracle. Done means queries without a FROM clause work as expected; the issue does not specify the desired handling.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

blocked :: upstream bug
Discussed in https://github.com/sqlpage/SQLPage/discussions/1193

Originally posted by theonewu January 18, 2026
In "index.sql": The following error occurred while executing an SQL statement:
error returned from database: ODBC emitted an error calling 'SQLExecDirect':
State: HY000, Native error: 923, Message: [Oracle][ODBC][Ora]ORA-00923: not found FROM key.
In oracle, the query not from a table, must use the FROM DUAL

such as: select (1+1) as two;
in oracle: select (1+1) as two from dual;

Ngôn ngữ chính
Rust
Star
2.6k
Fork
175
Merge trung bình
14 giờ 16 phút
Pull request đã merge (30 ngày)
43

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sqlpage/SQLPage

Tất cả issue của sqlpage/SQLPage

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.