OracleÒì³£×ܽá
PL/SQL µÄÒì³£(Ô¤¶¨ÒåÒì³£)
2009-08-13 20:24
Òì³£Ãû³Æ ORACLE´íÎó ˵Ã÷
CURSOR_ALREADY_OPEN ORA-6511 ÊÔͼ´ò¿ªÒ»¸öÒÑ´ò¿ªµÄ¹â±ê
DUP_VAL_ON_INDEX ORA-0001 ÊÔͼÆÆ»µÒ»¸öΨһÐÔÏÞÖÆ
INVALID_CURSOR ORA-1001 ÊÔͼʹÓÃÒ»¸öÎÞЧµÄ¹â±ê
INVALID_NUMBER ORA-1722 ÊÔͼ¶Ô·ÇÊý×ÖÖµ½øÐÐÊý×Ö²Ù×÷
LOGIN_DENIED ORA-1017 ÎÞЧµÄÓû§Ãû»òÕß¿ÚÁî
NO_DATA_FOUND  
Ïà¹ØÎĵµ£º
µÚÒ»ÖÖ£º
select * from SOME_TABLE sample(1) where rownum <= 10;
µÚ¶þÖÖ£º
select * from (select * from SOME_TABLE order by dbms_random.value) where rownum<=10;
µÚÈýÖÖ£º
select * from (select * from SOME_TABLE order by sys_guid()) where rownum <= 10; ......
Oracle»¥»»×ܽá
1. ¶àÐл»³ÉÒ»ÐÐ
col1 col2 col1 col2
a 1
a 2 ת»»ºó ......
LogMinerÌṩÁËÒ»¸ö´¦ÀíÖØ×öÈÕÖ¾Îļþ²¢½«ÆäÄÚÈÝ·Òë³É´ú±í¶ÔÊý¾Ý¿âµÄÂß¼²Ù×÷µÄSQLÓï¾äµÄ¹ý³Ì¡£LogMinerÔËÐÐÔÚOracle°æ±¾8.1»òÕ߸ü¸ß°æ±¾ÖС£
Ò»£¬ÈçºÎʹÓÃLogminer:
ÏÈÒª°²×°logminerµÄÁ½¸ö°ü£»ÒÔSYSÓû§ÔËÐÐÏÂÃæÁ½¸ö½Å±¾,ÆäÖеÚÒ»¸ö½Å±¾dbmslm.sqlÓÃÀ´´´½¨DBMS_LOGMNR°ü£¬¸Ã°üÓÃÀ´·Ö ......
windowÏÂÃüÁîÐÐÆô¶¯oracle·þÎñ
2008-11-12 22:30
Ò»¡¢¶ÀÁ¢Æô¶¯£º
Microsoft Windows 2000 [Version 5.00.2195]
(C) °æȨËùÓÐ 1985-2000 Microsoft Corp.
#########################################################
¼ì²é¼àÌýÆ÷״̬£º
#########################################################
E:">lsnrctl s ......
¶ÔÿһÐÐÊäÈëÖµ½øÐмÆË㣬µÃµ½ÏàÓ¦µÄ¼ÆËã½á¹û£¬·µ»Ø¸øÓû§£¬Ò²¾ÍÊÇ˵£¬Ã¿ÐÐ×÷Ϊһ¸öÊäÈë²ÎÊý£¬¾¹ýº¯Êý¼ÆËãµÃµ½Ã¿ÐеļÆËã½á¹ûÊǵ¥Ðк¯Êý¡£
Ò»¡¢×Ö·ûº¯Êý
1¡¢×Ö·û´®´óСдת»»
(1)LOWER (strexp) ·µ»Ø×Ö·û´®,²¢½«ËùÓеÄ×Ö·ûСд
(2)UPPER (strexp) ·µ»Ø×Ö·û´®,²¢½«ËùÓеÄ× ......