The following lines contain the word 'select', 'insert', 'update' or 'delete':
Select route_id,
route_no,
Start_date_active,
end_date_Active
From ahl_routes_app_v
Where route_id=c_route_id;
select route_id,route_no,Start_date_active,end_date_Active
from ahl_routes_app_v
where route_id=c_route_id;
select route_id,route_no,Start_date_active,end_date_active
from ahl_routes_app_v
where route_id=c_route_id;
select route_id,route_no,Start_date_active,End_date_active
from ahl_routes_app_v
where route_id=c_route_id;
select route_id,route_no,Start_date_active,end_date_active
from ahl_routes_app_v
where route_id=c_route_id;
select route_id,route_no,Start_date_active,end_date_active
from ahl_routes_app_v
where route_id=c_route_id;
select route_id,route_no,Start_date_Active,end_date_active
from ahl_routes_app_v
where route_id=c_route_id;
select route_id,route_no,Start_date_active,end_date_active
from ahl_routes_app_v
where route_id=c_route_id;
PROCEDURE Update_Status(
itemtype IN VARCHAR2
,itemkey IN VARCHAR2
,actid IN NUMBER
,funcmode IN VARCHAR2
,resultout OUT NOCOPY VARCHAR2)
IS
l_error_msg VARCHAR2(4000);
l_api_name CONSTANT VARCHAR2(30) := 'Update_Status';
select route_id,route_no,Start_date_active,end_date_active,revision_status_code
from ahl_routes_app_v
where route_id=c_route_id;
AHL_DEBUG_PUB.debug( 'Start UpdateStatus','+DebugWfRoute+');
,aname => 'UPDATE_GEN_STATUS'
);
AHL_DEBUG_PUB.debug( 'After GetItemAttrText UpdateStatus','+DebugWfRoute+');
AHL_DEBUG_PUB.debug( 'Error G_exec UpdateSatus:'||sqlerrm,'+DebugWfRoute+');
wf_core.context('AHL_FMP_APRV_PVT','UPDATE_STATUS',
itemtype,itemkey,actid,funcmode,l_error_msg);
AHL_DEBUG_PUB.debug( 'UpdateStatus Whenothers Err:'||sqlerrm,'+DebugWfRoute+');
,'Update_Status'
,itemtype
,itemkey
,actid
,funcmode
,'Unexpected Error!'
);
END Update_Status;
select route_id,route_no,Start_date_active,end_date_active,revision_status_code
from ahl_routes_app_v
where route_id=c_route_id;
UPDATE AHL_ROUTES_B
SET REVISION_STATUS_CODE = 'DRAFT',
object_version_number =l_object_version_number+1
WHERE route_id = l_object_id
and object_Version_number=l_object_version_number;
UPDATE AHL_ROUTES_B
SET REVISION_STATUS_CODE = 'COMPLETE',
object_version_number =l_object_version_number+1
WHERE route_id = l_object_id
and object_Version_number=l_object_version_number;