Support for FOREIGN TABLES