开发者

how to list all databases in progress-4gl 9.1 D?

i'm trying to get all databases like in the DataDictionary, but in a programmatic way! Is that开发者_如何学JAVA possible?


DEFINE VARIABLE iDatabase AS INTEGER NO-UNDO.

REPEAT iDatabase = 1 TO NUM-DBS:
    DISPLAY LDBNAME(iDatabase) .
END.

LDBNAME returns the logical name of a database. You can also use PDBNAME to get the physical name.

Information about tables, indexes, etc. can be retrieved from the Virtual System Tables (VST) tables (prefixed with underscore). Examples can be found in Progress Knowledge Base (e.g. entry P8005).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜