odbc

Connect to Linked Server via SQL Server pyodbc connection?

半城伤御伤魂 提交于 2020-08-09 12:27:57
问题 I can currently connect to my SQL Server and query any database I want to directly. The problem is when I want to query a linked server. I cannot directly reference the linked servers name in the connect() method and I have to connect to a local database first and then run an OPENQUERY() against the linked server. This seams like a odd work around. Is there a way to query the linked server directly (from my research you cannot connect directly to a linked server) or at least connect to the

MySQL for Excel Add-In, failing to append

余生长醉 提交于 2020-08-06 04:33:29
问题 I am using the MySQL for Excel add-in. I have been using this for months to highlight a set of data and load it into my database. I added a new table last week, and was successfully loading data into it using the same method. It stopped working. When I attempt to Append data, I get an error dialogue box that says "Cannot Find Column 30"...which happens to be the number (and therefore) last column in my table. Some more information: - If I highlight this same set of data and try to write it to

MySQL for Excel Add-In, failing to append

て烟熏妆下的殇ゞ 提交于 2020-08-06 04:32:00
问题 I am using the MySQL for Excel add-in. I have been using this for months to highlight a set of data and load it into my database. I added a new table last week, and was successfully loading data into it using the same method. It stopped working. When I attempt to Append data, I get an error dialogue box that says "Cannot Find Column 30"...which happens to be the number (and therefore) last column in my table. Some more information: - If I highlight this same set of data and try to write it to

Connect to Azure SQL in Python with MFA Active Directory Interactive Authentication without using Microsoft.IdentityModel.Clients.ActiveDirectory dll

不羁岁月 提交于 2020-08-05 06:18:15
问题 To connect to Azure SQL Database using MFA (which is in SSMS as "Active Directory - Universal") Microsoft recommends and currently only has a tutorial on connecting with C# using Microsoft.IdentityModel.Clients.ActiveDirectory Setting Authentication='Active Directory Interactive'; in a regular ODBC connection string from Python or Powershell results in the error Cannot find an authentication provider for 'ActiveDirectoryInteractive' This seems to be because per Microsoft's example code at