In this example, create an object list named ‘ObjNotInMap2’ consisting of all objects not in TD_Map2.
CALL TDMaps.CreateObjectListSP('ObjNotInMap2',NULL,:ObjectListId); INSERT TDMaps.ObjectListEntry SELECT ZoneName, ListId, DatabaseName, TableName FROM TDMaps.ObjectListTbl, dbc.tablesv t WHERE ListName = 'ObjNotInMap2' and TableKind IN ('T','I','J','N','O') and t.mapname not in ('td_datadictionarymap', 'td_globalmap','td_map2');