2854: -- cursor to check if attempts exist for the event
2855: --
2856: Cursor c_attempts_details is
2857: select 'X' 2858: from ota_attempts 2859: where event_id = p_event_id;
2860: --
2861: -- cursor to check if the event is referenced in training plan costs
2862: --