-
Notifications
You must be signed in to change notification settings - Fork 107
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
#221
Comments
@krlmlr commented on Aug 26, 2018, 8:32 PM UTC: @jimhester: Is it possible to add support for synonyms to odbc? |
@brshallo commented on Sep 4, 2018, 5:54 PM UTC: @krlmlr @jimhester note I can still query a synonym, e.g.
Though the When I run
(Synonyms do not show-up.) |
@jimhester commented on Sep 4, 2018, 7:54 PM UTC: Yes, it is likely possible to add support for this, but we should move this issue to odbc. |
@krlmlr commented on Oct 1, 2018, 9:47 AM UTC: /move to odbc |
Any updates on this? Or any tips on how I might edit a |
You would have to define a |
@brshallo commented on May 7, 2018, 5:21 PM UTC:
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.This issue was moved by krlmlr from r-dbi/DBI#244.
The text was updated successfully, but these errors were encountered: