create or replace procedure query_sal(eno employee.employeeno%type,name out employee.employeename%type,salary in out employee.sal%type) is v_sal number; begin select employeename ,sal into name,v_sal from employee where employeeno = eno; salary := salary + v_sal; exception when no_data_found then raise_application_error(-20000,'¸Ã¹ÍÔ±²»´æÔÚ'); end query_sal; --Ö´Ðд洢¹ý³Ì£º declare name employee.employeename%type; salary employee.sal%type; begin query_sal('1990-003',name,salary); dbms_output.put_line('¹ÍÔ±£º'||name||'µÄнˮΪ:'||salary); end; Ö»ÄÜÊä³öname,ΪʲôµÃ²»µ½salaryµÄÖµ£¿ÇëºÃÐÄÈ˰ï¸ö棬°ïÎÒ¼ì²éÏ£¡hrϵÄemployees±í£¿ employee±í£ºsal,employeename,employeenoÈý¸öÊôÐÔÃû salary := salary + v_sal; ÔÚÕâÀïÏÈÊä³öÏÂsalary µÄÖµ ΪʲôҪÏȸ³ÓèÒ»¸öֵĨ£¬ÎÒemployeenameû¸³ÖµÍ¬Ñù¿ÉÒÔÊä³öµ«salaryû¸³ÖµÄÜÊä³öÄØ£¡ nameÏ൱ÓÚÖ±½Ó¸³Öµ£¬ µ«salaryΪnull£¬µ¼ÖÂsalary + v_salҲΪnull salary := salary + v_sal;
ϸöOracle for vista °æ±¾µÄ°²×°ÊÔÊÔ 10GºÍ11GµÄ http://www.oracle.com/technology/software/products/database/index.html ------------------------------------------- ......
²éÁËÒ»ÌìµÄblob£¬»¹ÊÇûÀí½âµ½£¬ÎÒÏëÔÚVCÏ´æÈ¡¶þ½øÖƵÄÎļþ£¬Ê¹ÓõÄÊÇoo4o£¬ÕÕ×ŰïÖúÎĵµÉÏÃæµÄдÁËдÈëÊý¾Ý¿âµÄ´úÂ룬»¹ÊÇûд¶Ô£¬´íÎóÌáʾÊÇthis operation is not permitted on a empty LOB£¬ÕâÊÇʲôÒâ˼°¡£¿ÕÕ ......
oracle 11g °²×° 01092 ´íÎó, ÈÕÖ¾ÐÅÏ¢£º [oracle@linux trace]$ vi alert_orcl.log MMON started with pid=14, OS id=9089 RESETLOGS after incomplete recovery UNTIL CHANGE 522752 Errors in file / ......
select count(1) from FX_RETURNBOOKCHECKLIST fxreturnbo0_ where fxreturnbo0_.BOOKID='164 ' AND fxreturnbo0_.RETURNID='00025.S0000001' ÉÏÃæÒ»¸ö¼òµ¥µÄSQL,Ö´ÐÐʱ¼ä2.6à ......