troubleshooting Question

performance because of connection string? VB

Avatar of al4629740
al4629740Flag for United States of America asked on
Visual Basic ClassicAzureSQL
5 Comments1 Solution150 ViewsLast Modified:
Are there connections to a DB that are faster than others over the internet?  I use the following string for my vb6 app to access microsoft azure sql db.  

Set conn = New ADODB.Connection
Set rec = New ADODB.Recordset
conn.Open "Provider=sqloledb;Data Source=" & ConnectionIP & ",1433;Network Library=DBMSSOCN;Initial Catalog= TrackingDB; User ID=xxxxx;Password=xxxxxxxxxxxxx"

Or maybe it doesn't make a difference when it comes to performance?  The reason I ask is because ever since we migrated to Azure, the connection is a little slower than when I was accessing our local db.  The local db was faster when accessed over the internet compared to the Azure which has the same scenario being located in the cloud.
"Batchelor", Developer and EE Topic Advisor

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Top Expert 2015

The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros