luozhiyong131 发表于 2011-12-22 08:54

Oracle表类型[课堂笔记]

<DIV>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">grant connect to scott</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">grant dba to scott</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">静态表类型:表类型锁存储的元素的个数固定<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">type typename is table of </SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">数据类型(<SPAN lang=EN-US>varchar2</SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">,</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">number</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">,</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">date</SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">)</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">varname typename</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">:=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">typename</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">null</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-tab-count: 1">&nbsp; </SPAN></SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">//</SPAN><SPAN style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">声明变量,初始化<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">varname</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">extend</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">n</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">)</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-tab-count: 1"> </SPAN><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">//</SPAN><SPAN style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">表类型中存放的元素数<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">varname</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">i</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">)</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-tab-count: 1"> </SPAN><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">//</SPAN><SPAN style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">访问表类型中的元素<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">示例:<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">declare</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>type emp_tab is table of varchar2</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">10</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>vtab emp_tab</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">:=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">emp_tab</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">null</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">begin</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>vtab</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">extend</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">10</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>select ename into vtab</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">1</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">)</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>from emp<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>where empno</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">7521</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>select ename into vtab</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">2</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">)</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>from emp<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>where empno</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">7499</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">for</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> i in </SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">1..vtab.count</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> loop</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vtab</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">i</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">));</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>end loop</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">declare</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>type emp_tab is table of emp</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">%</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">rowtype</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>vtab emp_tab</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">:=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">emp_tab</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">null</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">begin</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>vtab</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">extend</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">10</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>select </SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">*</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> into vtab</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">1</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">)</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>from emp<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>where empno</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">7521</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>select </SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">*</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> into vtab</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">2</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">)</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>from emp<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>where empno</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">7499</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">for</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> i in </SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">1..vtab.count</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> loop</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vtab</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">i</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">).</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">ename</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>end loop</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">动态表类型:表类型中的元素数不固定<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">type typename is table of </SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">数据类型<SPAN lang=EN-US> index by binary_integer</SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">varname typename</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">declare</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>type emp_tab is table of varchar2</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">10</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">)</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> index by binary_integer</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">//</SPAN><SPAN style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">内部增长序号<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>vtab emp_tab</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">begin</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>select ename bulk collect<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>into vtab<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>from emp</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">for</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> i in </SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">1..vtab.count</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> loop</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vtab</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">i</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">));</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>end loop</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">顺序<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">选择<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">if</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">条件<SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>then</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">//</SPAN><SPAN style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">语句一<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">else</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">//</SPAN><SPAN style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">语句二<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end </SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">if</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">declare</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">num1 integer</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">num2 integer</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">begin</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>num1</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">:=&amp;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">1</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>num2</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">:=&amp;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">2</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">if</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> num1</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&gt;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> num2 then</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">num1</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">else</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">num2</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>end </SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">if</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">if</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">条件<SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>then</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">...</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">elsif<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">条件<SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>then</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">...</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">else</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">...</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end </SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">if</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">declare</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>vsal emp</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">sal</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">%</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">type</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">begin</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>select sal into vsal</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>from emp</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>where empno</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">7521</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">if</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> vsal</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&lt;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">2000</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> then</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: gray; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">'A'</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>elsif vsal </SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&lt;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">3000</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> then</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: gray; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">'B'</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>elsif<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>vsal </SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&lt;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">4000</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> then</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: gray; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">'C'</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">else</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: gray; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">'D'</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>end </SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">if</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">case</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> </SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">条件<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">when<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">值<SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>then<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN>语句</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">when<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">值<SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>then<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN>语句</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">when<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">值<SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>then<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN>语句</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">when<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">值<SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>then<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN>语句</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">else</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">语句<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end </SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">case</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">declare</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vchar varchar2</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">10</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">begin</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vchar</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">:=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: gray; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">'&amp;1'</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">case</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> vchar</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">when </SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: gray; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">'a'</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> then dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: gray; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">'a'</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">when </SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: gray; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">'b'</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> then dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: gray; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">'b'</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">when </SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: gray; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">'c'</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> then dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: gray; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">'c'</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">else</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: gray; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">'D'</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end </SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">case</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">循环<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">loop</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>exit when </SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">条件<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end loop</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">declare</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>i<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>number</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">4</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">):=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">1</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>vsum number</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">4</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">):=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">0</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">begin</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>loop</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>vsum</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">:=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vsum</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">+</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">i</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>i</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">:=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">i</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">+</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">1</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>exit when i</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&gt;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">100</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>end loop</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vsum</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">for</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> varname in </SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">值区间<SPAN lang=EN-US> loop </SPAN></SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">//</SPAN><SPAN style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">递增<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">declare</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vsum number</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">4</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">):=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">0</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">begin</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">for</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> i in </SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">1..100</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> loop</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>vsum</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">:=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vsum</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">+</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">i</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>end loop</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vsum</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">for</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> varname in reverse </SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">值区间<SPAN lang=EN-US> loop </SPAN></SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">//</SPAN><SPAN style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">递减<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">declare</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">begin</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">for</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> i in reverse </SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">1..10</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> loop</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">i</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>end loop</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">while</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">条件<SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>loop</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end loop</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">declare</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">i<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>number</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">4</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">):=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">1</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vsum number</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">4</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">):=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">0</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">begin</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">while</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> i</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&lt;=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">100</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> loop</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>vsum</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">:=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vsum</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">+</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">i</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>i</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">:=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">i</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">+</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">1</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>end loop</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vsum</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">异常<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">oracle</SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">异常分为两种<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">系统异常<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">declare</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vsal emp</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">sal</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">%</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">type</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">begin</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>select sal into vsal from emp where empno</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">9444</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">exceptionwhen others then</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: gray; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">'</SPAN><SPAN style="BACKGROUND: white; COLOR: gray; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">工号输入错误<SPAN lang=EN-US>'</SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">自定义异常<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">declare</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vage </SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #8000ff; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">int</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">ageexce exception</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">begin</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>vage</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">:=&amp;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">age</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">if</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> vage</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&gt;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">100</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> then</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>raise ageexce</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>end </SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">if</SPAN></B><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">exception when ageexce then</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: gray; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">'</SPAN><SPAN style="BACKGROUND: white; COLOR: gray; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">年龄过大<SPAN lang=EN-US>'</SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">游标<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">一段连续内存空间,存放查询结果集,类似于指针或数组<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">游标分类<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">1.</SPAN><SPAN style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">隐式游标</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN></SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">系统针对不同的语句创建游标,通过游标名称访问数据,全称游标名<SPAN lang=EN-US>sql</SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN></SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">游标四个属性<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">%</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">isopen<SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">打开游标<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">%</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">found<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN></SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">语句操作是否对数据中的数据产生影响<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">%</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">notfound </SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">%</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">rowcount </SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">具体影响的数据的数量<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>begin</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>delete from emp</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">sql</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">%</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">rowcount</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>end</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">2.</SPAN><SPAN style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">显式游标</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">游标是存放查询结果,游标后只能用查询语句:<SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>select </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">*</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> from tablename</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">声明语法:<SPAN lang=EN-US><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>cursor cursorname is select </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">*</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>from tablename</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">//</SPAN><SPAN style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">只能是查询语<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">游标操作步骤<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">1.open</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> cursorname </SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">//</SPAN><SPAN style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">将查询的结果存放到指定内存中<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">2.loop</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">3.fetch</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> cursoname into </SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">变量<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">4.exit</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> when<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>cursornamr</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">%</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">notfound</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">//</SPAN><SPAN style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">判断游标数据是否取完,退出循环<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">5.end</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> loop</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN></SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">6.close</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>cursorname</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">declare</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>cursor emp_cur is select </SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">*</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>from emp</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>vrow emp</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">%</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">rowtype</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">begin</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>open emp_cur</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> </SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>loop</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>fetch emp_cur into<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>vrow</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>exit when emp_cur</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">%</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">notfound </SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vrow</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">ename</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>end loop</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>close emp_cur</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">for</SPAN><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">操作游标特点:<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">1.</SPAN><SPAN style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">自动打开关闭游标,不需要写下面的语句</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>open emp_cur</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>close emp_cur</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">2.</SPAN><SPAN style="BACKGROUND: white; COLOR: #ff8000; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">不需要声明任何变量</SPAN><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">declare</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">cursor emp_cur is select </SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">*</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> from emp</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">begin</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">for</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> vrow in emp_cur loop</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vrow</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">ename</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>end loop</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">declare</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">begin</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">for</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> vrow in </SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> select </SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">*</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> from emp</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">)</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> loop</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vrow</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">ename</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;</SPAN>end loop</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">参数游标<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">参数游标中的参数的数据类型不能指定大小<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">declare</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">cursor emp_cur</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vdeptno number</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">)</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">//</SPAN><SPAN style="BACKGROUND: white; COLOR: green; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">参数不要指定大小<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">is select </SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">*</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>from emp </SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">where deptno</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">=</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vdeptno</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vvdeptno<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>emp</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">deptno</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">%</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">type</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">begin</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>vvdeptno</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">:=&amp;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">no</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN></SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">for</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> vrow in emp_cur</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vvdeptno</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">)</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> loop</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vrow</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">ename</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>end loop</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">&nbsp;</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">动态游标:游标所指的内存中可以存放多个查询的数据。动态游标不能用<SPAN lang=EN-US>for</SPAN>操作<SPAN lang=EN-US></SPAN></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">declare</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">type emp_ref is ref cursor</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">emp_ref_cur emp_ref</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vrow dept</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">%</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">rowtype</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">begin</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>open emp_ref_cur </SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: blue; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">for</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> </SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>select </SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">*</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"> from dept</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>loop</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>fetch emp_ref_cur into vrow</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>exit when emp_ref_cur</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">%</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">notfound</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>dbms_output</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">put_line</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">(</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">vrow</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">.</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">dname</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">);</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>end loop</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>close emp_ref_cur</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">end</SPAN><B style="mso-bidi-font-weight: normal"><SPAN lang=EN-US style="BACKGROUND: white; COLOR: navy; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'">;</SPAN></B><SPAN lang=EN-US style="BACKGROUND: white; COLOR: black; FONT-FAMILY: 'Courier New'; mso-bidi-font-family: 'Times New Roman'; mso-highlight: white; mso-fareast-font-family: 'Courier New'"></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT face="Times New Roman">&nbsp;</FONT></SPAN></P></DIV>
页: [1]
查看完整版本: Oracle表类型[课堂笔记]