Create Or Replace Package p_StdThese can now be referenced:
is
SubType City is VARCHAR2(25) ;
SubType State is CHAR(2) not null ;
end;
/
Declare
v_City p_Std.City := 'Pittsburgh';
v_St p_Std.State := 'PA' ;
Begin
Dbms_Output.Put_Line (v_City ||', '||v_St);
End;
/
Pittsburgh, PA
PL/SQL procedure successfully completed.
No comments:
Post a Comment