Forum Discussion
Anonymous
4 years agoNot applicable
Scan dataset M codes.
We want to scan datasets M codes using XMLA endpoint to get information on how tables have been created. We found that we can do this for tables created from Excel, SQL, manual inputs. But the tabl...
smpa01
Community Champion
4 years agobcdobbs This is aweome to say the least !!! Fantastic !!! Thanks for sharing.
bcdobbs
Community Champion
4 years agoAll sorts of fun available...
Following code gives you list of all those queries:
SELECT * FROM $System.DBSchema_Tables
WHERE TABLE_TYPE = 'SCHEMA'
ORDER BY TABLE_NAME ASC
which is from Dynamic Management Views (DMVs) in Analysis Services | Microsoft Docs