http://plsql-tutorial.com/plsql-procedures.htm What is PL/SQL? PL/SQL stands for Procedural Language extension of SQL. PL/SQL is a combination of SQL along with the procedural features of programming languages. A Simple PL/SQL Block: Each PL/SQL prog…
1.if循环做判断 SET SERVEROUTPUT ON accept num prompt 'qinshuu'; DECLARE pnum NUMBER :=& num ; BEGIN THEN SYS.DBMS_OUTPUT.PUT_LINE (') ; ELSIF pnum THEN dbms_output.put_line (') ; ELSE DBMS_OUTPUT.PUT_LINE (') ; END IF ; END ; / 2.引用变量 SET SERVEROUTPUT ON…