Credentials in security in SSMS will work or not ?
hi there,
i have sql server authentication database in sql server, database need access olap cube using openrowset display results. sql server authentication has select , execute permissions on database. if map credentials sql server authentication login, can retrieve data olap cube. in credentials, have used windows authentication have administrator permissions olap cube.
thanks,
atrsams
hi atrsams,
according description, you log in sql server management studio using sql server authentication , write openrowset query retrieval data sql server analysis services database, want know if can connect ssas database or not, right?
i have tested on local environment, created sql server login , log ssms , run query below.
select a.* openrowset('msolap.5','data source=.;initial catalog=adventureworksdw2012multidimensional-ee', 'select {[measures].[internet sales amount]} on 0, [date].[calendar].[calendar year].members on 1 [adventure works] ') go
the result can retrieval data server. based on research, if use connection string openrowset function, connect ssas server using current windows account. in scenario, please make sure current account have permission access cube.
reference
http://www.theboreddba.com/categories/miscellaneous/using-openrowset-instead-of-a-linked-server.aspx
charlie liao
technet community support
SQL Server > SQL Server Analysis Services
Comments
Post a Comment