开发者

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

开发者 https://www.devze.com 2023-03-07 13:18 出处:网络
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.

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

精彩评论

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

关注公众号