The following lines contain the word 'select', 'insert', 'update' or 'delete':
PROCEDURE Insert_Row(X_Rowid IN OUT VARCHAR2,
X_Job_Evaluation_Id IN OUT NUMBER,
X_Business_Group_Id NUMBER,
X_Comments VARCHAR2,
X_Date_Evaluated DATE,
X_Job_Id NUMBER,
X_Measured_In VARCHAR2,
X_Overall_Score VARCHAR2,
X_Position_Id NUMBER,
X_System VARCHAR2,
X_Attribute_Category VARCHAR2,
X_Attribute1 VARCHAR2,
X_Attribute2 VARCHAR2,
X_Attribute3 VARCHAR2,
X_Attribute4 VARCHAR2,
X_Attribute5 VARCHAR2,
X_Attribute6 VARCHAR2,
X_Attribute7 VARCHAR2,
X_Attribute8 VARCHAR2,
X_Attribute9 VARCHAR2,
X_Attribute10 VARCHAR2,
X_Attribute11 VARCHAR2,
X_Attribute12 VARCHAR2,
X_Attribute13 VARCHAR2,
X_Attribute14 VARCHAR2,
X_Attribute15 VARCHAR2,
X_Attribute16 VARCHAR2,
X_Attribute17 VARCHAR2,
X_Attribute18 VARCHAR2,
X_Attribute19 VARCHAR2,
X_Attribute20 VARCHAR2
) IS
CURSOR C IS SELECT rowid FROM PER_JOB_EVALUATIONS
WHERE job_evaluation_id = X_Job_Evaluation_Id;
CURSOR C2 IS SELECT per_job_evaluations_s.nextval FROM sys.dual;
INSERT INTO PER_JOB_EVALUATIONS(
job_evaluation_id,
business_group_id,
comments,
date_evaluated,
job_id,
measured_in,
overall_score,
position_id,
system,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
attribute16,
attribute17,
attribute18,
attribute19,
attribute20
) VALUES (
X_Job_Evaluation_Id,
X_Business_Group_Id,
X_Comments,
X_Date_Evaluated,
X_Job_Id,
X_Measured_In,
X_Overall_Score,
X_Position_Id,
X_System,
X_Attribute_Category,
X_Attribute1,
X_Attribute2,
X_Attribute3,
X_Attribute4,
X_Attribute5,
X_Attribute6,
X_Attribute7,
X_Attribute8,
X_Attribute9,
X_Attribute10,
X_Attribute11,
X_Attribute12,
X_Attribute13,
X_Attribute14,
X_Attribute15,
X_Attribute16,
X_Attribute17,
X_Attribute18,
X_Attribute19,
X_Attribute20
);
hr_utility.set_message_token('PROCEDURE','Insert_row');
END Insert_Row;
SELECT *
FROM PER_JOB_EVALUATIONS
WHERE rowid = X_Rowid
FOR UPDATE of Job_Evaluation_Id NOWAIT;
PROCEDURE Update_Row(X_Rowid VARCHAR2,
X_Job_Evaluation_Id NUMBER,
X_Business_Group_Id NUMBER,
X_Comments VARCHAR2,
X_Date_Evaluated DATE,
X_Job_Id NUMBER,
X_Measured_In VARCHAR2,
X_Overall_Score VARCHAR2,
X_Position_Id NUMBER,
X_System VARCHAR2,
X_Attribute_Category VARCHAR2,
X_Attribute1 VARCHAR2,
X_Attribute2 VARCHAR2,
X_Attribute3 VARCHAR2,
X_Attribute4 VARCHAR2,
X_Attribute5 VARCHAR2,
X_Attribute6 VARCHAR2,
X_Attribute7 VARCHAR2,
X_Attribute8 VARCHAR2,
X_Attribute9 VARCHAR2,
X_Attribute10 VARCHAR2,
X_Attribute11 VARCHAR2,
X_Attribute12 VARCHAR2,
X_Attribute13 VARCHAR2,
X_Attribute14 VARCHAR2,
X_Attribute15 VARCHAR2,
X_Attribute16 VARCHAR2,
X_Attribute17 VARCHAR2,
X_Attribute18 VARCHAR2,
X_Attribute19 VARCHAR2,
X_Attribute20 VARCHAR2
) IS
BEGIN
UPDATE PER_JOB_EVALUATIONS
SET
job_evaluation_id = X_Job_Evaluation_Id,
business_group_id = X_Business_Group_Id,
comments = X_Comments,
date_evaluated = X_Date_Evaluated,
job_id = X_Job_Id,
measured_in = X_Measured_In,
overall_score = X_Overall_Score,
position_id = X_Position_Id,
system = X_System,
attribute_category = X_Attribute_Category,
attribute1 = X_Attribute1,
attribute2 = X_Attribute2,
attribute3 = X_Attribute3,
attribute4 = X_Attribute4,
attribute5 = X_Attribute5,
attribute6 = X_Attribute6,
attribute7 = X_Attribute7,
attribute8 = X_Attribute8,
attribute9 = X_Attribute9,
attribute10 = X_Attribute10,
attribute11 = X_Attribute11,
attribute12 = X_Attribute12,
attribute13 = X_Attribute13,
attribute14 = X_Attribute14,
attribute15 = X_Attribute15,
attribute16 = X_Attribute16,
attribute17 = X_Attribute17,
attribute18 = X_Attribute18,
attribute19 = X_Attribute19,
attribute20 = X_Attribute20
WHERE rowid = X_rowid;
hr_utility.set_message_token('PROCEDURE','update_row');
END Update_Row;
PROCEDURE Delete_Row(X_Rowid VARCHAR2) IS
BEGIN
DELETE FROM PER_JOB_EVALUATIONS
WHERE rowid = X_Rowid;
hr_utility.set_message_token('PROCEDURE','delete_row');
END Delete_Row;