锘??xml version="1.0" encoding="utf-8" standalone="yes"?>成人三级毛片,成人网视频在线观看,男人的天堂久久精品http://www.aygfsteel.com/orsen/category/41818.htmlzh-cnThu, 24 Sep 2009 17:42:47 GMTThu, 24 Sep 2009 17:42:47 GMT60oracle 娓告爣鐨勪嬌鐢?/title>http://www.aygfsteel.com/orsen/archive/2009/09/24/296273.htmlOrsenOrsenThu, 24 Sep 2009 04:58:00 GMThttp://www.aygfsteel.com/orsen/archive/2009/09/24/296273.htmlhttp://www.aygfsteel.com/orsen/comments/296273.htmlhttp://www.aygfsteel.com/orsen/archive/2009/09/24/296273.html#Feedback0http://www.aygfsteel.com/orsen/comments/commentRss/296273.htmlhttp://www.aygfsteel.com/orsen/services/trackbacks/296273.html--閫氳繃浣跨敤闅愬紡娓告爣鍜岃褰曚負(fù)mydept琛ㄦ坊鍔犲唴瀹?/span> Declare Type dept_rec Is Record ( r_deptno dept.deptno%Type, r_dname dept.dname%Type, r_loc dept.loc%Type ); v_deptrec dept_rec; Begin Select deptno,dname,loc Into v_deptrec From dept Where deptno=&dno; InsertInto mydept Values v_deptrec; dbms_output.put_line('鎻掑兼垚鍔?/span>'); Exception When NO_DATA_FOUND Then dbms_output.put_line('璇ラ儴闂ㄤ笉瀛樺湪'); When Others Then dbms_output.put_line('鍙戠敓寮傚父錛屾彃鍊煎け璐?/span>'); End ; --緇撳悎娓告爣浠嶥EPT琛ㄤ腑鏌ヨ鏁版嵁錛屽皢鐩稿簲鐨勬暟鎹彃鍏ュ埌MYDEPT琛ㄤ腑 Declare Type dept_rec Is Record ( r_deptno dept.deptno%Type, r_dname dept.dname%Type, r_loc dept.loc%Type ); Cursor dept_cursor Is Select*From dept OrderBy deptno Asc; v_deptrec dept_rec; Begin --鎵撳紑娓告爣 Open dept_cursor; --浠庢父鏍囦腑鍙栧?/span> Fetch dept_cursor Into v_deptrec; While(dept_cursor%Found) Loop InsertInto mydept Values v_deptrec; dbms_output.put_line('鎻掑兼垚鍔?/span>'); Fetch dept_cursor Into v_deptrec; End Loop; Close dept_cursor; Exception When Others Then dbms_output.put_line('鍙戠敓寮傚父錛屾彃鍊煎け璐?/span>'); End ; --浣跨敤闈㈠悜娓告爣鐨勮褰?/span> --閫氳繃闈㈠悜娓告爣鐨勮褰曟樉紺洪儴闂ㄤ俊鎭?/span> DeclareCursor dept_cursor Is Select*From mydept OrderBy deptno Asc; --瀹氫箟涓涓潰鍚戞父鏍囩殑璁板綍 v_deptrec dept_cursor%Rowtype; Begin Open dept_cursor; Loop Fetch dept_cursor Into v_deptrec; DeleteFrom mydept Where deptno=v_deptrec.deptno; dbms_output.put_line(v_deptrec.deptno||' 淇℃伅鍒犻櫎鎴愬姛'); ExitWhen dept_cursor%Notfound ; End Loop; Close dept_cursor; Exception When Others Then dbms_output.put_line('鍙戠敓寮傚父錛屽垹闄ゅけ璐?/span>'); End;