The following lines contain the word 'select', 'insert', 'update' or 'delete':
PROCEDURE Insert_Row ( X_Expenditure_category VARCHAR2,
X_Last_update_date DATE,
X_Last_updated_by NUMBER,
X_Creation_date DATE,
X_Created_by NUMBER,
X_Last_update_login NUMBER,
X_Start_date_active DATE,
X_Description VARCHAR2,
X_End_date_active DATE,
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_Return_Status OUT NOCOPY VARCHAR2,
X_Msg_Count OUT NOCOPY NUMBER,
X_Msg_Data OUT NOCOPY VARCHAR2
)
IS
BEGIN
INSERT INTO Pa_Expenditure_Categories
( Expenditure_category,
Last_update_date,
Last_updated_by,
Creation_date,
Created_by,
Last_update_login,
Start_date_active,
Description,
End_date_active,
Attribute_category,
Attribute1,
Attribute2,
Attribute3,
Attribute4,
Attribute5,
Attribute6,
Attribute7,
Attribute8,
Attribute9,
Attribute10,
Attribute11,
Attribute12,
Attribute13,
Attribute14,
Attribute15
)
VALUES
( X_Expenditure_category,
X_Last_update_date,
X_Last_updated_by,
X_Creation_date,
X_Created_by,
X_Last_update_login,
X_Start_date_active,
X_Description,
X_End_date_active,
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
);
p_procedure_name => 'Insert_Row');
X_Last_update_date DATE,
X_Last_updated_by NUMBER,
X_Creation_date DATE,
X_Created_by NUMBER,
X_Last_update_login NUMBER,
X_Start_date_active DATE,
X_Description VARCHAR2,
X_End_date_active DATE,
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_Return_Status OUT NOCOPY VARCHAR2,
X_Msg_Count OUT NOCOPY NUMBER,
X_Msg_Data OUT NOCOPY VARCHAR2
)
IS
CURSOR C IS
SELECT *
FROM Pa_Expenditure_Categories
WHERE Expenditure_Category = X_Expenditure_Category
FOR UPDATE of Expenditure_Category NOWAIT;
PROCEDURE Update_Row( X_Expenditure_category VARCHAR2,
X_Last_update_date DATE,
X_Last_updated_by NUMBER,
X_Creation_date DATE,
X_Created_by NUMBER,
X_Last_update_login NUMBER,
X_Start_date_active DATE,
X_Description VARCHAR2,
X_End_date_active DATE,
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_Return_Status OUT NOCOPY VARCHAR2,
X_Msg_Count OUT NOCOPY NUMBER,
X_Msg_Data OUT NOCOPY VARCHAR2
)
IS
CURSOR C IS
SELECT EXPENDITURE_CATEGORY FROM PA_EXPENDITURE_CATEGORIES
WHERE
Expenditure_Category = X_Expenditure_Category;
UPDATE Pa_Expenditure_Categories SET
Expenditure_category = X_Expenditure_category ,
Last_update_date = X_Last_update_date ,
Last_updated_by = X_Last_updated_by ,
Creation_date = X_Creation_date ,
Created_by = X_Created_by ,
Last_update_login = X_Last_update_login ,
Start_date_active = X_Start_date_active ,
Description = X_Description ,
End_date_active = X_End_date_active ,
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
WHERE expenditure_category= X_expenditure_category;
p_procedure_name => 'Update_Row');