
To get TableId from table name, where the table name is a string type you can use tableName2Id() method
int tableId = tableName2Id('SalesTable');
To get TableId from table name, where the table name is a string type you can use tableName2Id() method
int tableId = tableName2Id('SalesTable');