variable v1 varchar2(20); begin select 名前 into :v1 from プロフィール where 社員番号 = 100; dbms_output.put_line(:v1); end;