Forum Discussion
johnmthompson
2 years agoNew Member
Use the API to retrieve Database Table names
Hi all,
We are trying to connect Power BI Semantic Models, Dataflows, etc with the exact table they are connecting to in our data warehouse. Today we are connecting to Hadoop and using the Admin APIs I can see the connection string, but no detail on the database or table. Is it possible to get this level of detail?
Thanks!
2 Replies
- lbendlinSuper User
Use DMV queries like TMSCHEMA_PARTITIONS to grab the query code for each connection. That will either give you the table name or the SQL query text.
- johnmthompsonNew Member
Where do we run those queries? I'm not familiar with them.