Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Oracle support #348

Open
detule opened this issue Jan 9, 2024 · 3 comments
Open

Oracle support #348

detule opened this issue Jan 9, 2024 · 3 comments

Comments

@detule
Copy link

detule commented Jan 9, 2024

Hi @krlmlr

I was wondering if you have tested Oracle connections against DB versions 21 or lower with DBItest? One of the issues I came across is related to SQL syntax. For example, trying to execute trivial_query():

> dbGetQuery(conn, "SELECT 1.5 as a")
Error: nanodbc/nanodbc.cpp:1710: 00000
[Oracle][ODBC][Ora]ORA-00923: FROM keyword not found where expected

> dbGetQuery(conn, "SELECT 1.5 as a FROM DUAL")
    A
1 1.5
> dbGetInfo(conn)
$dbname
[1] ""
$dbms.name
[1] "Oracle"
$db.version
[1] "21.00.0000"

...

$odbc.version
[1] "03.52"
$driver.version
[1] "21.12.0000"
$odbcdriver.version
[1] "03.52"

Thanks

@krlmlr
Copy link
Member

krlmlr commented Jan 14, 2024

Thanks, no, haven't. Does this work out of the box in Oracle 22 or higher? What's the EOL for Oracle 21?

@detule
Copy link
Author

detule commented Jan 15, 2024

Haven't tried Oracle 23 / though in some documentation I have read "FROM DUAL" may not be needed there. Having said that and if I am interpreting the schedule here correctly, it seems Oracle 23 is a very recent release with broader distribution still outstanding / slated for 1H24.

Oracle 19 ( previous LT version ) is supported through 2027. If given the option, I think I would use this version as the test bed.

@krlmlr
Copy link
Member

krlmlr commented Mar 30, 2024

There are Docker images for Oracle Express 21 and 18. Would they work too?

Upstream: r-dbi/docker#16.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants