declare 
  str varchar2(100);
begin 
str := 'select transclass from BasicTransClass where sn =4';
dbms_output.put_line(str);
end;
麻烦解释下,谢谢了,我菜~