Last active
April 20, 2023 06:43
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
EXEC master.dbo.sp_addlinkedserver | |
@server =N'AWS_ATHENA', | |
@srvproduct=N'', | |
@provider=N'MSDASQL', | |
@datasrc=N'AWS_ATHENA' | |
GO | |
EXEC master.dbo.sp_addlinkedsrvlogin | |
@rmtsrvname=N'AWS_ATHENA', | |
@useself=N'False', | |
@locallogin=NULL, | |
@rmtuser=N'', | |
@rmtpassword='' | |
GO | |
SELECT * | |
FROM AWS_ATHENA.AwsDataCatalog.sampledb.sampledata | |
GO |
@AdmiralrRicha - Looks like a credential-related issue. I haven't been working on SQL Server actively these days, so won't be able to offer much help. Please check this forum, might be useful to debug => https://www.sqlservercentral.com/forums/topic/msg-7303-cannot-initialize-the-data-source-object-of-ole-db-provider-microsoft-jet-oledb-4-0-for-linked-server-null
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Getting this error:
Failed to retrieve data for this request. Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "AWS_ATHENA". Error: 7303.