how to obtain a list of schemas in intersystems cache?

可紊 提交于 2019-12-10 15:05:38

问题


I'm connecting to a Caché database using the ODBC driver, and I want to do a query to obtain a list of schemas. In Microsoft SQL Server I can use a query like this:

SELECT * FROM INFORMATION_SCHEMA.SCHEMATA

How can I do this in Caché? I'm also using ADO.NET schema collections, but the schemas don't seem to be available there.


回答1:


The schema %dictionary has the tables you are looking for. You could select from %dictionary.compiledclass



来源:https://stackoverflow.com/questions/12823127/how-to-obtain-a-list-of-schemas-in-intersystems-cache

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!