获取表名
时间:2019-06-09 12:54:13
收藏:0
阅读:106
1、Use Dictionary
static void findTables(Args _args)
{
Dictionary dictionary;
TableId tableId;
tableName tableName;
;
dictionary = new Dictionary();
tableId = dictionary.tableNext(0);
tableName = dictionary.tableName(tableId);
while (tableId)
{
info(strfmt("%1 - %2",int2str(tableId), tableName));
tableId = dictionary.tableNext(tableId);
tableName = dictionary.tableName(tableId);
}
}
2、Use SqlDictionary
SQLDictionary dictTable;
while select * from dictTable where dictTable.fieldId == 0
{
print dicttable.name, ‘ ‘, dicttable.tabId;
}
pause;
原文:https://www.cnblogs.com/xtwkh1973/p/10993099.html
评论(0)