BookmarkSubscribeRSS Feed
fishwhat
Calcite | Level 5

Are there any ways to connect to the sql server directly without using ODBC/OLEDB? We did a DB migration to Azure recently. The speed is very slow if we connect DB through ODBC now. I do some research but not find a way to do the connection without using ODBC/OLEDB. I have both SAS and SAS Entertainment on my PC. 

 

Thanks.

 

Fisher

4 REPLIES 4
SASKiwi
PROC Star

What SAS/ACCESS product are you using? I understand that SAS/ACCESS Interface to SQL Server uses ODBC behind the scenes anyway, so I'm not aware of any other options. I suggest you open a SAS Tech Support track to investigate further. Are all SAS and SQL Server users experiencing the same performance or is it just you?

fishwhat
Calcite | Level 5

All users have the same issue. When we connect it to the new DB, the speed is slower. That's why I am thinking if we have an alternative way to avoid connecting ODBC. My Microsoft Studio and Power BI connect to the server directly and their speeds are perfect. Also, my new DB is on Azure.

Tom
Super User Tom
Super User

@fishwhat wrote:

All users have the same issue. When we connect it to the new DB, the speed is slower. That's why I am thinking if we have an alternative way to avoid connecting ODBC. My Microsoft Studio and Power BI connect to the server directly and their speeds are perfect. Also, my new DB is on Azure.


Distance from the database can explain a lot of performance issues.  

Where is the computer where SAS is running?

Where is the old database running?
Where is the new database running?

 

If everything is in AZURE them make sure they are co-located.

SASKiwi
PROC Star

Try running a very simple row count query. That will tell you whether the slowness is in bringing your data back to SAS on your PC or not - I'm assuming here you aren't using a remote SAS server.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 1593 views
  • 0 likes
  • 3 in conversation