2291: BEGIN
2292: -- fix bug#4046594: Validate that isc_plan_snapshot_v exists
2293: l_dbi_plans_view := 'ISC_PLAN_SNAPSHOT_V';
2294: select count(view_name) into l_count 2295: from user_views 2296: where view_name = l_dbi_plans_view;
2297: IF l_count = 0 THEN
2298: -- isc_plan_snapshot_v does not exists so we cannot import dbi plans
2299: RETURN TRUE;