PLSQL_8_2_Practice.docx - Database Programming with PL/SQL...

This preview shows page 1 - 3 out of 5 pages.

Database Programming with PL/SQL 8-2: Using Parameters in Procedures Practice Activities Vocabulary Identify the vocabulary word for each definition below: Parameters Pass or communicate data between the caller and subprogram.
Formal Parameters A parameter name declared in the procedure heading. Try It / Solve It 1. In your own words, describe parameters and the purpose they serve in PL/SQL subprograms.
2. Using the COUNTRIES table: A. Create a procedure that accepts a country_id as a parameter and displays the name of the country and its capitol city. Name your procedure get_country_info. Save your procedure definition for later use.
FROM wf_countries WHERE country_id = p_country_id; DBMS_OUTPUT.PUT_LINE('The country name is '||v_country_name||‘ and the capital city is '|| v_capitol); END; B.

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture