Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment