Thanks Melvin. Much appreciate it. From: Melvin Davidson [mailto:melvin6925@xxxxxxxxx] All, It grabs all the tables in pg_class and sorts them by foreign key count. You can pull the main query logic from it and modify to suit your needs. I've attached for your convenience. On Mon, Sep 7, 2015 at 6:27 AM, Gavin Flower <GavinFlower@xxxxxxxxxxxxxxxxx> wrote: On 07/09/15 19:44, Raymond O'Donnell wrote: On 06/09/2015 22:59, FarjadFarid(ChkNet) wrote: No worries. Would you share it, for the archives? I think I can do it relatively simply, in a reasonable general fashion.
Melvin Davidson |