I have following plsql script that prints record parameters.
Is there a way to print all column values just passing country_record
.
I mean I do not want to write all column name like country_record.country_id
DECLARE
country_record countries%ROWTYPE;
countryid countries.country_id%TYPE;
BEGIN
countryid := &countryid;
SELECT *
INTO country_record
FROM countries
WHERE country_id = countryid;
DBMS_OUTPUT.put_line ('id: ' || country_record.country_id);
END;