Simple stored procedure with input

SQL Easy 3 views
Back to Questions
Next Procedure to update salary Easy N

Problem Description

Create a stored procedure sp_add_department(p_id, p_name) that inserts into Departments.

Input Format

SQL procedure

Output Format

Procedure created

Sample Test Case

Input:
Departments(dept_id, dept_name)
Output:
Procedure created

Constraints

Syntax close to MySQL style

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Next