1.

Write a PL/SQL procedure for selecting some records from the database using some parameters as filters.

Answer»
  • Consider that we are FETCHING details of employees from ib_employee table where SALARY is a parameter for filter.
CREATE PROCEDURE get_employee_details @salary nvarchar(30)ASBEGIN SELECT * FROM ib_employee WHERE salary = @salary;END;


Discussion

No Comment Found