请教: 我获得了一个字符串变量,现在想把他作为一张表的表名,然后打开表
例如:
tableName=`MyTable
select * from tableName //我知道不对,但是该怎么操作呢?
使用objByName函数https://www.dolphindb.cn/cn/help/130/FunctionsandCommands/FunctionReferences/o/objByName.html?highlight=objbyname
select * from objByName(tableName)