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

Exasol #86

Open
garrylachman opened this issue May 26, 2015 · 2 comments
Open

Exasol #86

garrylachman opened this issue May 26, 2015 · 2 comments

Comments

@garrylachman
Copy link

The numberic type is not found with Exasol DB,
i found the solution and its works for me:

odbc.cpp:
switch ((int) column.type) {
case 1414725635:
case SQL_INTEGER :

add column type 1414725635 as integer

Garry Lachman

@garrylachman
Copy link
Author

Sorry...
The Real Solution:

add "SQL_TYPE_TIMESTAMP" to case

change in SQLColAttribute
from SQL_DESC_TYPE to SQL_DESC_CONCISE_TYPE
for support odbc 2.x

Note from MSDN:
"To work against ODBC 2.x drivers, use SQL_DESC_CONCISE_TYPE instead"

@wankdanker
Copy link
Collaborator

Interesting. I wonder if there is a way to detect if the driver is an ODBC 2.x driver. node-odbc targets ODBC 3.x. Maybe switching to SQL_DESC_CONCISE_TYPE would be fine though. Will have to test.

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