昨天在学习oracle存储过程的时候,写了一个存储过程的demo,语句是这样的: )) AS psssal TESTDELETE.TESTID%TYPE; BEGIN SELECT TESTID INTO psssal FROM TESTDELETE WHERE TESTNAME=PNAME; ) WHERE TESTNAME=PNAME; DBMS_OUTPUT.PUT_LINE()); end; / 想法是通过表的varchar(20)类型字段找到number类型字段,然后更改number类…