CLOSE DATABASES ALL USE HOME(2)+'Northwind\northwind.dbc' IN 0 ALIAS dbc NOUPDATE SELECT T.ObjectName table,I.ObjectName Tag FROM dbc T JOIN dbc I ON T.ObjectId = I.ParentId; WHERE T.objecttype == 'Table' AND I.objecttype == 'Index'Of course, the whole table/index files would be able not to exist or to be corrupt