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

sql user name returns empty #533

Open
kothapraveen opened this issue Mar 12, 2024 · 2 comments
Open

sql user name returns empty #533

kothapraveen opened this issue Mar 12, 2024 · 2 comments

Comments

@kothapraveen
Copy link

Hi @taozuhong

Currently am working with below environment

unixODBC- 2.3.11
gcc540
RHEL7 64
FreeTDS 1.3

currently we are trying to get the username "info type" SQL_USER_NAME
from SQLGetInfoW(), but we are getting empty string,but other info
types SQL_CATALOG_TERM,SQL_SCHEMA_TERM,SQL_PROCEDURE_TERM we are
getting expected values of data sources

@taozuhong
Copy link
Contributor

Ah, I'm using the dblib API now, not ODBC, so I don't know the root cause.

@freddy77
Copy link
Contributor

Not sure if the server ever reports something for the user name. Maybe that's the reason. Did you try on Windows using MS driver?

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

3 participants