Groups | Blog | Home
all groups > sql server (alternate) > february 2005 >

sql server (alternate) : list of databases in Analysis Services



Hippi
2/28/2005 3:52:17 PM
Hi all,

I have to write a program to read the names of databases in Analysis
Services. I don't know which table I can get this information from.

Thanks a bunch
dbmonitor
2/28/2005 7:32:29 PM

[quoted text, click to view]

would this work:

select dbid, name
from master..sysdatabases
where has_dbaccess(name) = 1

--
David Rowland
http://dbmonitor.tripod.com
Hippi
3/28/2005 7:12:35 PM
No, it doesn't work. It shows all the databases I have in SQL Server
AddThis Social Bookmark Button