-
Notifications
You must be signed in to change notification settings - Fork 74
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
Have synonyms show-up for Microsoft SQL Server dbListTables
#244
Comments
Would this be more appropriate under |
@jimhester: Is it possible to add support for synonyms to odbc? |
@krlmlr @jimhester note I can still query a synonym, e.g.
Though the When I run
(Synonyms do not show-up.) |
Yes, it is likely possible to add support for this, but we should move this issue to odbc. |
This issue was moved by krlmlr to r-dbi/odbc#221. |
This issue was moved by krlmlr to r-dbi/odbc#222. |
I regularly connect to data marts provisioned for me on Microsoft SQL Server.
When connecting to Microsoft SQL Server, the RStudio "Connections" tab shows "tables" and "views" but does not show "synonyms". ("Synonyms" also do not show-up when running
DBI::dbListTables(con)
)If I want to view the synonyms in R I will typically do something like:
Though this is less convenient. The ability to connect and query synonyms is unaffected. Only the ability to preview tables via
DBI::dbListTables
/ the Connections tab, and only for Microsoft SQL Server.Right now I end-up usually using Tableau's data previewer in parallel (which I believe is using the same driver but defaults to show synonyms as well as views and tables)...
If it does not make sense to have synonyms show-up by default in the package, do you know what change to options i can make that would make 'synonyms' show-up in my 'Connections' pane in RStudio when connecting to Databases on Microsoft SQL Server?
System details
Packages:
The same thing occurs whether I'm connecting via windows authentication or with a specific username and password with odbc. The lack of synonyms showing-up when running
DBI::dbListTables
also occurs whether I'm using odbc or RJDBC for connecting.The text was updated successfully, but these errors were encountered: