!set plsqlUseSlash true DECLARE V1 STRING V2 STRING:='字符串变量' V3 INT V4 INT:=100 V5 BOOLEAN V6 BOOLEAN:='TRUE' BEGIN DBMS_OUTPUT.PUT_LINE(V1) DBMS_OUTPUT.PUT_LINE(V2) DBMS_OUTPUT.PUT_LINE(V3) DBMS_OUTPUT.PUT_LINE(V4) DBMS_OUTPUT.PUT_LINE(V5) DBMS_OUTPUT.PUT_LINE(V6) END; /
复制
输出结果为:
output |
---|
null |
字符串变量 |
null |
100 |
null |
TRUE |