Forum Discussion
SAS ODBC
Hi RMartinoBoston,
If you want to know how to use odbc to connect, you can take a look at the below link:
Odbc.Query([Driver=Provider, Server=ServerName, Database=SourceName], Querystring)
Odbc.Query("Driver={SQL Anywhere 16};Host=montegoref7", "select * from Products")
Odbc.Query([Driver="PostgreSQL Unicode", Server="montegoref7", Database="Northwind"], "select * from ""public"".""Products""")
Notice, you should ensure the provider is correctly installed in your computer.
Regards,
Xiaoxin Sheng
Thank you Xiaoxin Sheng,
However, without a Server to refrerence, I don't seem to be able to get the ODBC query to work.
Rachael
- Grusque7 years agoNew Member
Hi All,
Generally not great documentation on this driver, seems everyone else knows how to do it.
Use the SAS Local Data Provider which you can find in:
Data->From Other Source->From Data Connection Wizard->Other/Advanced->SAS Local Data Provider <<latest version on your machine>>
Enter only the path into Data Source:, nothing else, test the connection and it should bring up the tables in that location.