#!/bin/ksh ######################################################################## # # Quick script thrown together to find dependencies on a table. # # Usage: # depend.sh database table # # This will list all tables which refer to this table either by view or # by foreign key. It will also list any tables that this table depends # on. It will recurse through a dependency chain. # # Jack Parker 2003 # ######################################################################## find_par_view() { dbaccess $1 - 2>/dev/null </dev/null </dev/null </dev/null <