Hi,
I'm new to Oracle and functions in Oracle. Is it possible what I'm trying to do with function ?
Please ignore the syntax.
Thanks
Create or Replace Procedure Proc1
select EmpID, EmpName, BasicSalary, Allowance
from Employee
where GetPercent (BasicSalary, Allowance) > 10000
End Proc1
Create or Replace Function GetPercent
Return BasicSalary + Allowance;
End GetPercent
I'm new to Oracle and functions in Oracle. Is it possible what I'm trying to do with function ?
Please ignore the syntax.
Thanks
Create or Replace Procedure Proc1
select EmpID, EmpName, BasicSalary, Allowance
from Employee
where GetPercent (BasicSalary, Allowance) > 10000
End Proc1
Create or Replace Function GetPercent
Return BasicSalary + Allowance;
End GetPercent