Skip to content

Commit

Permalink
[bot] migrate files
Browse files Browse the repository at this point in the history
<!-- grit:execution_id:bb19b4ce-8d10-44a3-9af8-98488ad65e40 -->
  • Loading branch information
grit-app[bot] authored Jan 23, 2024
1 parent 6b687f9 commit 1d0f906
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions create_procedure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,9 @@ CREATE PROCEDURE remove_emp (employee_id NUMBER) AS
WHERE employees.employee_id = remove_emp.employee_id;
tot_emps := tot_emps - 1;
END;


-- Check that 'remove_emp' has been translated into valid plpgsql
SELECT has_function('remove_emp');
SELECT is_procedure('remove_emp');
SELECT function_lang_is('remove_emp', 'pgplsql' );

0 comments on commit 1d0f906

Please sign in to comment.