??ο???ORACLE?洢????
???????????? ???????[ 2015/8/25 13:59:38 ] ????????????? ???????????
??????.????????洢????
??????SQL*Plus ??????????????????洢???????EXECUTE????????:
????SQL> EXECUTE skeleton;
????SQL*Plus ????????????洢?????????: PL/SQL procedure successfully completed.
????????????????????PL/SQL???????????洢???????SQL*Plus??????????£???????????
????1 SQL> BEGIN
????2 SKELETON;
????3 END;
????4 /
??????????????????????????洢????????????????????
??????.???????洢????
??????????д???????????“Hello World!”??洢???????Notepad?????skeleton.sql ???????DBMS_OUTPUT.PUT_LINE ?????????滻NULL??????????:
????CREATE OR REPLACE PROCEDURE skeleton
????IS
????BEGIN
????DBMS_OUTPUT.PUT_LINE('Hello World!');
????END;
???????浽???skeleton.sql.
??????SQL*Plus?????У? ?????skeleton.sql .
????SQL> @skeleton
????SQL>
????1 CREATE OR REPLACE PROCEDURE skeleton
????2 IS
????3 BEGIN
????4 DBMS_OUTPUT.PUT_LINE('Hello World!');
????5* END;
????SQL> /
????SQL*Plus ????洢???????????????????????Procedure created.
????SQL>
??????EXECUTE ???????????洢????:
????SQL> EXECUTE skeleton;
????SQL*Plus????洢???????г????PL/SQL procedure successfully completed.
????????????????????? "Hello World!"??г?????????????DBMS_OUTPUT.PUT_LINE ??????????????SET??????SQL*Plus ?????????????????
????SQL> SET SERVEROUTPUT ON
?????????????洢?????
????SQL> EXECUTE skeleton;
????????????????Hello World!
????PL/SQL procedure successfully completed.
??????.????????洢????
??????????????洢?????????????????裬???SQL??????????洢???????д洢????????????????????????????????????????????????????????????顣
??????????????洢????????????????У??????漰???????????????????????????????????PL/SQL????????????????????????????????????????????????Щ?????????λ??????????????????????????;
??????.????????洢????
???????????????????????????洢????????????????SQL??? DROP PROCEDURE ??????????????????洢?????DROP PROCEDURE ??SQL?б?????????????????(DDL) ???????????????????CREATE?? ALTER?? RENAME ??TRUNCATE??.
??????SQL*Plus ??????????£????DROP PROCEDURE SQL ????????????skeleton??洢?????
????SQL> DROP PROCEDURE skeleton;
????SQL*Plus assures us the procedure has been removed:
????Procedure dropped.
???????
???????????????????????Oracle???????Oracle????洢???????衣????洢?????????п??????????????????????????????á?
???????????????????????漰???????????????????SPASVOС??(021-61079698-8054)?????????????????????????
??????
Oracle ??????????Oracle?????????????Oracle?????????????ORACLE_NUMBER????Scale?0??????????Oracle 11g R2 ????????????Oracle??????????????????Oracle ?????????(TSPITR)Oracle?????????????Oracle??????????????oracle??????????????Oracle12.2?????????μ????????Oracle???????????????????Oracle???????????????????Oracle????MySQL?????????????oracle????????????????Oracle RAC?е????IP
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11????????
?????????App Bug???????????????????????Jmeter?????????QC??????APP????????????????app?????е????????jenkins+testng+ant+webdriver??????????????JMeter????HTTP???????Selenium 2.0 WebDriver ??????