Skip to content

cannot use variables on Oracle (through ODBC) #1181

Closed

Description

@lovasoa

Discussed in #1180

Originally posted by theonewu January 9, 2026

when i connect to oracle 11g r2. Use $variable select records.
but the error returned from database:

ODBC emitted an error calling 'SQLExecDirect':
State: HY000, Native error: 902, Message: [Oracle][ODBC][Ora]ORA-00902: no valid datatype.
The SQL statement sent by SQLPage was:
SELECT id,name FROM users WHERE name= CAST(? AS TEXT) ORDER BY id DESC;
student.sql: line 3

oracle 11g r2 has no text datatype.
so i cant continue.

Activity

  1. self-assigned this
    on Jan 9, 2026
  2. linked a pull request that will close this issueOracle db odbc ci #1182on Jan 9, 2026
  3. lovasoa commented on Jan 12, 2026

    @lovasoa
    CollaboratorAuthor

    @theonewu I just merged the fix, and added continuous testing for oracle. You can test the integration with lovasoa/sqlpage:main on docker (should be pushed automatically in a few minutes).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions